Deletes a service from the Location catalog. A package is deleted with its component list. A simple service that is a component of packages can be deleted: it leaves those packages, and Altegio recalculates only their duration afterwards: their status and price stay as they were until the package is changed.
Fails with 409 conflict, the reason in detail, when the service is managed by its chain (chain_id set; delete it in the chain) or when it is included in a Membership that clients keep with active auto-renewal. A service of another Location, a deleted service, a category, or a missing id fails with the same 404 resource_not_found.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/services/{service_id}
- Preview resource API contract - endpoint surface is not live yethttps://api.alteg.io/api/v3/locations/{location_id}/services/{service_id}
curl -i -X DELETE \
'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/services/{service_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The service has been deleted.
Requests left in the most constrained policy window that applies to this request.
On 429, seconds until the most constrained policy frees up; it equals Retry-After there. On a successful response it reports the length of that policy's window rather than the time left in the current one, so treat it as the window size, not as a countdown — the counter to pace against is RateLimit-Remaining.
Most constrained policy applied to the request, as <limit>;w=<window in seconds>.
No content