Deletes a booking sheet
DELETE /api/booking-sheets/{productRecipeId}
- Products: Operator (
FOH) - Features: Front of House Generic Access (
FOHGENERIC)
Overview
Deletes an existing booking sheet for a given resource group. Use this only when the booking sheet itself should be removed; the request is rejected while any activities still reference the sheet.
Endpoint
DELETE {base_url}/api/booking-sheets/{productRecipeId}
{base_url} is the environment URL issued to your integration. See Authenticating with Gladstone APIs.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
productRecipeId | string | Yes | The booking sheet to delete, using the same booking sheet id accepted by Updates a booking sheet. The request fails if the id is omitted, does not identify an existing booking sheet, or identifies a sheet still referenced by activities. |
Sample request
curl -X DELETE '{base_url}/api/booking-sheets/{productRecipeId}' \
-H 'Authorization: Bearer {accessToken}' \
-H 'X-Use-SSO: true'Errors
| Status | Meaning | When |
|---|---|---|
400 | Bad request | The ID of the booking sheet must be specified. The ID supplied does not exist. You must delete all activities referencing this booking sheet before you can delete the booking sheet itself. |
500 | Internal server error |