Detach location from holiday
DELETE/api/holidays/{holiday_id}/locations/{location_id}
This endpoint allows you to detach a location from a holiday.
Required permissions:
- settings.company: allows to manage location holidays.
Here the dedicated support page.
Request
Path Parameters
Possible values: Value must match regular expression [0-9]+
The ID of the holiday to detach the location from
Possible values: Value must match regular expression [0-9]+
The ID of the location to detach from the holiday
Header Parameters
The company you want to interact with
The API version you want to use
Responses
- 204
- 401
- 403
- 404
- 412
Location successfully detached from holiday
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
  "key": "string",
  "message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
  "key": "string",
  "message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
  "key": "not_found",
  "message": "string"
}
Precondition failed
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
  "key": "precondition_failure",
  "message": "string"
}