Calendar
POST
/api/v1/workspaces/{workspaceId}/calendar/sources/native
Scope calendar:write
Create a calendar in the workspace, with a name, color, and scope.
Pfad
workspaceIdPflicht
string
Workspace that owns the resource.
Request
application/json · CalendarSourceCreateRequestDto
namePflicht
string
Display name.
color
string
Color.
scope
string
Scope.
Antworten
200CalendarSourceDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Calendar source.
id
string (uuid)
Identifier.
connectionId
string (uuid)
Identifier of the connection.
kind
string
Kind.
scope
string
Scope.
name
string
Display name.
color
string
Color.
isPrimary
boolean
Whether this is primary.
isEnabled
boolean
Whether this is enabled.
canWrite
boolean
Whether write is set.
lastSyncedAt
string (date-time)
When the last synced was recorded.