DELETE
/api/public/v1/appointment-services/{serviceId}Delete appointment service
Delete a service. Existing appointments referencing it are not removed.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
serviceId | string | Required | Service ID. |
DELETEExample request
curl
curl -X DELETE "https://www.pxb.app/api/public/v1/appointment-services/{serviceId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Appointment service deleted successfully.",
"content": {}
}