Delete Service
Delete an existing service from the calendar system.
Request
DELETE /v2/services/:id
Headers
| Name | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
x-api-secret | Yes | Your API secret |
URL Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The ID of the service to delete |
Response
Success Response (204 No Content)
A successful deletion returns no content.
Error Responses
| Status | Description |
|---|---|
| 401 | Unauthorized - Invalid API key or secret |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Service does not exist |
| 409 | Conflict - Service has active bookings |
Important Notes
- Deleting a service will not delete any existing appointments or bookings associated with it
- If the service has active bookings, you may need to cancel them first
- This action cannot be undone