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
holiday_id stringrequired
Possible values: Value must match regular expression [0-9]+
The ID of the holiday to detach the location from
location_id stringrequired
Possible values: Value must match regular expression [0-9]+
The ID of the location to detach from the holiday
Header Parameters
Wethod-Company stringrequired
The company you want to interact with
Wethod-Version stringrequired
The API version you want to use
Responses
- 204
- 401
- 403
- 404
Location successfully detached from holiday
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "not_found",
"message": "string"
}
Loading...