Skip to main content
PATCH
/
api
/
v1
/
calendars
/
{calendarId}
Update a calendar
curl --request PATCH \
  --url https://prod.featherhq.com/api/v1/calendars/{calendarId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "userId": "<string>"
}
'
{
  "id": "<string>",
  "organizationId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "userId": "<string>",
  "archived": true,
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

calendarId
string
required

Body

application/json
name
string
Required string length: 1 - 255
description
string | null
Maximum string length: 1000
userId
string | null

Response

Calendar updated

id
string
required
organizationId
string
required
name
string
required
description
string | null
required
userId
string | null
required
archived
boolean
required
createdAt
string
required
updatedAt
string
required