Skip to content
gist.link ↗

cancelEvent

Mutation Calendar API — POST https://calendar.api.gist.link/graphql

The cancelEvent mutation on the Calendar API.

calendar:mutation:cancelEvent

The calling IAM key must hold this permission (or a wildcard that covers it: calendar:mutation:* or calendar:*) and the access token must have been minted with audience=calendar. See Permissions.

type Mutation {
cancelEvent(id: ID!, scope: EditScope, occurrenceStart: DateTime): Boolean!
}
Argument Type Required Description
id ID! Yes —
scope EditScope No —
occurrenceStart DateTime No —

Boolean!.

Terminal window
curl https://calendar.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation CancelEvent($id: ID!, $scope: EditScope, $occurrenceStart: DateTime) { cancelEvent(id: $id, scope: $scope, occurrenceStart: $occurrenceStart) }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab",
"scope": "THIS",
"occurrenceStart": {}
}
}
JSON