ReferenceNotifications (webhooks)

unsubscribeNotificationEventType mutation

Unsubscribes an event type from all callback configurations in the notification profile. You can unsubscribe from only one event type per request.

Syntax

1mutation {
2 unsubscribeNotificationEventType(
5}

Example

1mutation {
2 unsubscribeNotificationEventType (
3 input: {
4 eventType: "ReviewsApproved"
5 })
6 {
7 eventType
8 }
9}

Arguments

NameDescription

input

Required.

Event types and callback configuration ID.

Type: UnsubscribeNotificationEventTypeInput

Types


Name
Type
String
String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

UnsubscribeNotificationEventTypeInput
InputObject

Event types to unsubscribe from.

FieldDescription
eventTypeNot nullable.

Event type name to unsubscribe from.

Type: String
UnsubscribeNotificationEventTypePayload
Object

Event type that was unsubscribed.

FieldDescription
eventTypeNot nullable.

Name of the unsubscribed event type.

Type: String