Mutation
mutation UpdateSavedThreadsView($input: UpdateSavedThreadsViewInput!) {
updateSavedThreadsView(input: $input) {
savedThreadsView {
id
name
icon
color
threadsFilter {
statuses
statusDetails
priorities
assignedToUser
participants
customerGroups
}
isHidden
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"savedThreadsViewId": "id"
}
}Response
{
"data": {
"updateSavedThreadsView": {
"savedThreadsView": {
"id": "id",
"name": "string",
"icon": "string",
"color": "string",
"threadsFilter": {
"statuses": [
"TODO"
],
"statusDetails": [
"CREATED"
],
"priorities": [
1
],
"assignedToUser": [
"id"
],
"participants": [
"id"
],
"customerGroups": [
"id"
]
},
"isHidden": true
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateSavedThreadsView
Updates an existing saved threads view. All fields in the input are optional; only the fields you provide will be changed. Depending on workspace settings, only the view’s creator or workspace admins may be allowed to edit a view they did not create.
MUTATION
updateSavedThreadsView(input: UpdateSavedThreadsViewInput!): UpdateSavedThreadsViewOutput!Arguments
input
required
Returns
savedThreadsView
error
Mutation
mutation UpdateSavedThreadsView($input: UpdateSavedThreadsViewInput!) {
updateSavedThreadsView(input: $input) {
savedThreadsView {
id
name
icon
color
threadsFilter {
statuses
statusDetails
priorities
assignedToUser
participants
customerGroups
}
isHidden
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"savedThreadsViewId": "id"
}
}Response
{
"data": {
"updateSavedThreadsView": {
"savedThreadsView": {
"id": "id",
"name": "string",
"icon": "string",
"color": "string",
"threadsFilter": {
"statuses": [
"TODO"
],
"statusDetails": [
"CREATED"
],
"priorities": [
1
],
"assignedToUser": [
"id"
],
"participants": [
"id"
],
"customerGroups": [
"id"
]
},
"isHidden": true
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

