Delete an unstarted or cancelled calendar booking
Hard-deletes a calendar booking only before execution starts or after cancellation. Requires Idempotency-Key, emits audit/domain events, and removes the record from normal reads. The booking's draft report is soft-deleted when nothing has been entered in it; a draft with any work in it stays on the work order without a booking. Required scope: service_appointments:delete.
Hard-deletes a calendar booking only before execution starts or after cancellation. Requires Idempotency-Key, emits audit/domain events, and removes the record from normal reads. The booking's draft report is soft-deleted when nothing has been entered in it; a draft with any work in it stays on the work order without a booking. Required scope: service_appointments:delete.
Delete an unstarted or cancelled calendar booking. Use an organization API key with service_appointments:delete. Check the response envelope and meta.requestId before triggering dependent workflow steps.
Required scopes
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| idrequired | path | string | Service Appointment identifier returned by the Organization API. |
Request body
This endpoint does not accept a JSON request body.
Responses
Delete action envelope
#/components/schemas/OrgApiActionEnvelope
Missing or invalid organization API key
#/components/schemas/OrgApiError
Organization billing access or an endpoint-specific business quota denied the request
#/components/schemas/OrgApiError
Missing required scope: service_appointments:delete
#/components/schemas/OrgApiError
Execution already started
#/components/schemas/OrgApiError
Rate limit exceeded
#/components/schemas/OrgApiError
Errors
Static examples
curl -X DELETE "$SOLAROS_BASE_URL/api/v1/service-appointments/$SOLAROS_SERVICE_APPOINTMENT" \ -H "Authorization: Bearer $SOLAROS_API_KEY" \ -H "Idempotency-Key: $SOLAROS_IDEMPOTENCY_KEY"