Query
query ServiceNowChannelSecretChanged($input: ServiceNowChannelSecretChangedInput!) {
serviceNowChannelSecretChanged(input: $input) {
auth {
authTypeChanged
}
errors {
code
message
}
webhookSecret
}
}Variables
{
"input": {
"auth": {},
"id": "value",
"webhookSecret": "string"
}
}Response
{
"data": {
"serviceNowChannelSecretChanged": {
"auth": {
"authTypeChanged": true
},
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"webhookSecret": true
}
}
}Queries
serviceNowChannelSecretChanged
Check if secrets for a ServiceNow channel are different compared to the passed input. Requires CHANNELS_WRITE permissions.
QUERY
serviceNowChannelSecretChanged(input: ServiceNowChannelSecretChangedInput!): ServiceNowChannelSecretChangedResult!Arguments
input
required
Which secrets have changed, based on the auth type in the request.
errors
[ApiError!]!
webhookSecret
Boolean!
True if the webhook secret has changed.
Query
query ServiceNowChannelSecretChanged($input: ServiceNowChannelSecretChangedInput!) {
serviceNowChannelSecretChanged(input: $input) {
auth {
authTypeChanged
}
errors {
code
message
}
webhookSecret
}
}Variables
{
"input": {
"auth": {},
"id": "value",
"webhookSecret": "string"
}
}Response
{
"data": {
"serviceNowChannelSecretChanged": {
"auth": {
"authTypeChanged": true
},
"errors": [
{
"code": "RESOURCE_IN_USE",
"message": "string"
}
],
"webhookSecret": true
}
}
}