AladiaDocs
Api referenceCalendars

Update a calendar

PUT
/v2/calendars/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/v2/calendars/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "owner": {},  "name": "string",  "type": "string",  "color": "string",  "eventDuration": 0,  "schedule": {},  "createdAt": "string",  "updatedAt": "string",  "defaultCalendar": true,  "isScheduleEnforced": true,  "entity": "course",  "updatedBy": "string",  "createdBy": "string",  "timezone": "string",  "baseDuration": 0,  "available": true,  "entityId": "string"}