Skip to content

Update Calendar settings

PATCH
/api/v1/calendar/calendars/{id}
curl --request PATCH \
--url https://example.com/api/v1/calendar/calendars/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "color": "example", "visible": true }'

Requires a signed-in User. It changes the Calendar colour, visibility, or both. It returns 400 for invalid settings or 404 when the Calendar is missing. Route: /api/v1/calendar/calendars/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.

id
required
string
Media typeapplication/json
object
color
string | null
visible
boolean | null
Examplegenerated
{
"color": "example",
"visible": true
}