Mutation
mutation DeleteAutoresponder($input: DeleteAutoresponderInput!) {
deleteAutoresponder(input: $input) {
autoresponder {
id
name
order
messageSources
conditions {
__typename
... on AutoresponderTierCondition {
__typename
}
}
textContent
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"autoresponderId": "id"
}
}Response
{
"data": {
"deleteAutoresponder": {
"autoresponder": {
"id": "id",
"name": "string",
"order": 1,
"messageSources": [
"EMAIL"
],
"conditions": [
{
"__typename": "AutoresponderTierCondition"
}
],
"textContent": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteAutoresponder
Permanently delete an autoresponder. The deleted autoresponder is returned in the response. Requires the autoresponder:delete permission.
MUTATION
deleteAutoresponder(input: DeleteAutoresponderInput!): DeleteAutoresponderOutput!Arguments
input
required
Returns
autoresponder
error
Mutation
mutation DeleteAutoresponder($input: DeleteAutoresponderInput!) {
deleteAutoresponder(input: $input) {
autoresponder {
id
name
order
messageSources
conditions {
__typename
... on AutoresponderTierCondition {
__typename
}
}
textContent
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"autoresponderId": "id"
}
}Response
{
"data": {
"deleteAutoresponder": {
"autoresponder": {
"id": "id",
"name": "string",
"order": 1,
"messageSources": [
"EMAIL"
],
"conditions": [
{
"__typename": "AutoresponderTierCondition"
}
],
"textContent": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

