Mutation
mutation DeleteWebhookTarget($input: DeleteWebhookTargetInput!) {
deleteWebhookTarget(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"webhookTargetId": "id"
}
}Response
{
"data": {
"deleteWebhookTarget": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteWebhookTarget
Delete a webhook target, stopping all future deliveries to that endpoint and removing it from the workspace. Existing delivery attempt history is retained until normal retention expiry. Requires the webhookTarget:delete permission.
MUTATION
deleteWebhookTarget(input: DeleteWebhookTargetInput!): DeleteWebhookTargetOutput!Arguments
input
required
Returns
error
Mutation
mutation DeleteWebhookTarget($input: DeleteWebhookTargetInput!) {
deleteWebhookTarget(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"webhookTargetId": "id"
}
}Response
{
"data": {
"deleteWebhookTarget": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

