Mutation
mutation UpdateEscalationPath($input: UpdateEscalationPathInput!) {
updateEscalationPath(input: $input) {
escalationPath {
id
name
steps {
__typename
... on EscalationPathStepUser {
__typename
}
}
description
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"escalationPathId": "id"
}
}Response
{
"data": {
"updateEscalationPath": {
"escalationPath": {
"id": "id",
"name": "string",
"steps": [
{
"__typename": "EscalationPathStepUser"
}
],
"description": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateEscalationPath
Updates an existing escalation path. All fields are optional — only the fields provided will be changed.
If steps is provided, it replaces the full list of steps; omit it to leave the current steps unchanged.
Returns an error if the escalation path does not exist. Requires the escalationPath:edit permission.
MUTATION
updateEscalationPath(input: UpdateEscalationPathInput!): UpdateEscalationPathOutput!Arguments
input
required
Returns
escalationPath
error
Mutation
mutation UpdateEscalationPath($input: UpdateEscalationPathInput!) {
updateEscalationPath(input: $input) {
escalationPath {
id
name
steps {
__typename
... on EscalationPathStepUser {
__typename
}
}
description
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"escalationPathId": "id"
}
}Response
{
"data": {
"updateEscalationPath": {
"escalationPath": {
"id": "id",
"name": "string",
"steps": [
{
"__typename": "EscalationPathStepUser"
}
],
"description": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

