Skip to content
gist.link ↗

deleteCalendar

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

The deleteCalendar mutation on the Calendar API.

calendar:mutation:deleteCalendar

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 {
deleteCalendar(id: ID!): Boolean!
}
Argument Type Required Description
id ID! Yes —

Boolean!.

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