Availability Controls
Remove an availability close-off
Reopen a previously closed service hour, dining area, matrix cell, or time slot.
For full_day scope, all close-offs for the date are removed.
Authorization
bearerAuth AuthorizationBearer <token>
Supports two token types:
- Restaurant tokens — API tokens with
restaurant-apiability, issued per restaurant. - User tokens — Personal access tokens with
mobile-accessability (e.g. for the mobile app). When managing multiple restaurants, includeX-Restaurant-Id: <id>header.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://devrms.tabdevx.com/api/restaurant/availability-controls" \ -H "Content-Type: application/json" \ -d '{ "date": "2026-06-10", "scope": "matrix", "service_hour_id": 5, "dining_area_id": 3 }'{
"message": "Availability close-off removed successfully",
"scope": "matrix"
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"message": "The given data was invalid.",
"errors": {
"date": [
"The date field is required."
],
"adults": [
"The adults must be at least 1."
]
}
}