Skip to main content

Delete Holiday (v1)

Method & Path

DELETE /api/v1/workspace/:workspaceId/holidays/:holidayId

Description

Delete a holiday from a workspace.

Authentication

Required: Workspace authentication. User must be authenticated as Workspace Owner or Staff with workspace settings management permissions.

Headers

Authorization: Bearer <workspace_token>
Content-Type: application/json

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier
holidayIdstringYesHoliday identifier

Response 204 No Content

No response body.

Common Errors

401 Unauthorized: Missing or invalid authentication token

403 Forbidden: User does not have permission to delete holidays

404 Not Found: Workspace or holiday not found

500 Internal Server Error: Server error occurred while processing the request

Notes

  • This operation is permanent and cannot be undone
  • Deleting a holiday will immediately affect calendar availability
  • Workspace subscription status is checked before processing the request