SMAO API Documentation
Public APICalendars

Delete a calendar

DELETE
/calendars/{calendar_id}

Deletes a calendar. Fails with 409 conflict if the calendar is still assigned to one or more assistants — unlink it from every assistant first (via the Assistants endpoint) and retry.

Authorization

bearerAuth
AuthorizationBearer <token>

API key in the Authorization: Bearer <key> header. Keys are created in the SMAO dashboard (Settings → API Keys).

In: header

Path Parameters

calendar_id*string
Match^[a-f0-9]{24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/calendars/65f8fa6f1a9d8e0012ab34cd"
{  "data": {}}