Skip to main content
DELETE
/
v1
/
locations
/
{location_id}
/
special_closings
/
{special_closing_id}
Delete a special closing
curl --request DELETE \
  --url https://api.chataigne.ai/v1/locations/{location_id}/special_closings/{special_closing_id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "object": "special_closing",
  "deleted": true
}

Authorizations

x-api-key
string
header
required

Location/organization API key.

Path Parameters

location_id
string
required
special_closing_id
string
required

Response

The deleted special closing.

id
string
object
enum<string>
Available options:
special_closing
deleted
enum<boolean>
Available options:
true