Skip to main content

updateAlertWebhook Mutation

Updates the specified AlertWebhook object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_instances].

Input fields (UpdateAlertWebhookInput!)

ArgumentTypeDescription
nameStringThe name of the AlertWebhook.
urlStringThe URL of the AlertWebhook.
payloadTemplateStringThe template that is hydrated and then used as the body of the AlertWebhook request.
headersStringA JSON string of key/value pairs that will be sent as headers in the Webhook request.
idIDThe ID of the AlertWebhook to mutate.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (UpdateAlertWebhookPayload)

alertWebhook (AlertWebhook)
clientMutationId (String)
errors ([ErrorType!]!)