Create calendar

Create a new calendar. Returns the new calendar's id and name.

Required permission: Full Write Events

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The details of the new calendar

string | null
required

The calendar's name, up to 100 characters. Built-in calendars keep their existing name; name changes on them are ignored.

string | null
required

The calendar's display color, as a hex code (for example #6BB9F0).

boolean | null

Whether events on the calendar are publicly visible by default. Omitting it makes the calendar private.

boolean | null

Whether this is the account's default calendar. Setting true makes this calendar the default and clears the flag on every other calendar.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json