Mutation
mutation DeleteChatAppSecret($input: DeleteChatAppSecretInput!) {
deleteChatAppSecret(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"chatAppId": "id"
}
}Response
{
"data": {
"deleteChatAppSecret": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteChatAppSecret
Delete the signing secret associated with a chat app. After deletion, webhook signature
verification for that chat app will fail until a new secret is created.
Requires the chatAppSecret:delete permission.
MUTATION
deleteChatAppSecret(input: DeleteChatAppSecretInput!): DeleteChatAppSecretOutput!Arguments
input
required
Returns
error
Mutation
mutation DeleteChatAppSecret($input: DeleteChatAppSecretInput!) {
deleteChatAppSecret(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"chatAppId": "id"
}
}Response
{
"data": {
"deleteChatAppSecret": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

