Skip to content
gist.link ↗

updateCalendar

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

The updateCalendar mutation on the Calendar API.

calendar:mutation:updateCalendar

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 {
updateCalendar(id: ID!, input: CalendarInput!): Calendar!
}
Argument Type Required Description
id ID! Yes —
input CalendarInput! Yes —

Calendar! — see the Calendar types reference.

Terminal window
curl https://calendar.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation UpdateCalendar($id: ID!, $input: CalendarInput!) { updateCalendar(id: $id, input: $input) { id name color timezone isDefault conflictCheck myRole ownerId } }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab",
"input": {
"name": "Example"
}
}
}
JSON