Skip to content

Set a CalDAV account status

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

Requires a signed-in User. It enables or disables the account. It refreshes the account when you enable it. It returns 404 when the account is missing. Route: /api/v1/calendar/accounts/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.

id
required
string
Media typeapplication/json
object
enabled
required
boolean
Examplegenerated
{
"enabled": true
}