SnozeDevelopers
API referenceCalendar

Delete a saved calendar view

Removes one of the calling user's saved filter presets; a view belonging to another user is never matched. Requires `workspace:read` and reports an unknown view as a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

DELETE
/v1/workspaces/{workspaceId}/calendar/views/{viewId}

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
viewId*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/calendar/views/string'
Example Response
{  "data": {    "id": "string"  }}