MailParrot
mutationupdateWebhook

Updates a webhook's URL, event types, or active state.

Authentication

Required: x-api-key header or Authorization: Bearer <token>

Arguments

NameTypeDescription
projectId*ID!-
aliasId*ID!-
webhookId*ID!-
input*UpdateWebhookInput!-

GraphQL

POST to /graphql

mutation UpdateWebhook($projectId: ID!, $aliasId: ID!, $webhookId: ID!, $input: UpdateWebhookInput!) {
  updateWebhook(projectId: $projectId, aliasId: $aliasId, webhookId: $webhookId, input: $input) {
    id
    url
    eventTypes
    active
    createdAt
  }
}

Don't have an API key? Sign up to the dashboard to get one for free.

Try it