Mutation
mutation UpdateEventDestination($id: ID!, $input: UpdateEventDestinationInput!) {
updateEventDestination(id: $id, input: $input) {
eventDestination {
createdAt
filter
filterDialectVersion
id
name
startsAfterSequence
}
}
}Variables
{
"id": "id",
"input": {
"filter": "string",
"name": "string"
}
}Response
{
"data": {
"updateEventDestination": {
"eventDestination": {
"createdAt": "value",
"filter": "string",
"filterDialectVersion": 1,
"id": "value",
"name": "string",
"startsAfterSequence": "string"
}
}
}
}Mutations
updateEventDestination
Changes the name and filter of an event destination, and its target when configuration is given. A new webhook endpoint, or any configuration for an Azure target, cancels pending deliveries: the webhook goes back to PENDING_VERIFICATION, and an ACTIVE Azure destination restarts with new events. Fails with a top-level NotFoundError, or ValidationError for invalid values or a configuration of another type.
MUTATION
updateEventDestination(id: ID!, input: UpdateEventDestinationInput!): UpdateEventDestinationPayload!Arguments
id
ID!
required
Global id of the event destination: base64 of EventDestination:<id>, where <id> is EventDestination.id.
input
required
Returns
eventDestination
Mutation
mutation UpdateEventDestination($id: ID!, $input: UpdateEventDestinationInput!) {
updateEventDestination(id: $id, input: $input) {
eventDestination {
createdAt
filter
filterDialectVersion
id
name
startsAfterSequence
}
}
}Variables
{
"id": "id",
"input": {
"filter": "string",
"name": "string"
}
}Response
{
"data": {
"updateEventDestination": {
"eventDestination": {
"createdAt": "value",
"filter": "string",
"filterDialectVersion": 1,
"id": "value",
"name": "string",
"startsAfterSequence": "string"
}
}
}
}Was this page helpful?