updateNotificationRecipient
Update a notification recipient.
updateNotificationRecipient(
input: UpdateNotificationRecipientInput
): UpdateNotificationRecipientPayload!
Example
- Query
- Variables
- Response
mutation ($input: UpdateNotificationRecipientInput) {
updateNotificationRecipient(input: $input) {
notificationRecipient {
createdAt
description
id
name
organizationId
recipientType
recipientValue
updatedAt
}
}
}
{
"input": {
"active": true,
"description": "A description",
"id": 42,
"meta": {
"webhookVersion": "v0"
},
"name": "A name",
"organizationId": 42,
"recipientType": "EMAIL",
"recipientValue": "recipientValue"
}
}
{
"data": {
"updateNotificationRecipient": {
"notificationRecipient": {
"createdAt": "2024-01-15T00:00:00.000Z",
"description": "A description",
"id": 42,
"name": "A name",
"organizationId": 42,
"recipientType": "EMAIL",
"recipientValue": "recipientValue",
"updatedAt": "2024-01-15T00:00:00.000Z"
}
}
}
}
Arguments
updateNotificationRecipient.input ● UpdateNotificationRecipientInput input common
The notification recipient changes to apply.
Type
UpdateNotificationRecipientPayload object common
The result of updating a notification recipient.