Set the state of a restriction by ID
Changed onRequest
- Base URLhttps://api.nextbillion.io
- AuthAPI key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique ID of the restriction. This is the ID that was generated at the time of creating the restriction.
Query parameters
A key is a unique identifier that is required to authenticate a request to the API.
Request body
Response
Example response
{
"bbox": {
"minLat": 0,
"minLon": 0,
"maxLat": 1,
"maxLon": 1
},
"repeat_on": "Mo-Fr 07:00-09:00,17:00-19:00"
}Changes
- breaking
removed the enum value
deletedof the request property - breaking
removed the enum value
disabledof the request property - breaking
removed the enum value
enabledof the request property - info
added the new
deletedenum value to the request property - info
added the new
disabledenum value to the request property - info
added the new
enabledenum value to the request property
- breaking
- breaking
removed the enum value
deletedof the request property - breaking
removed the enum value
disabledof the request property - breaking
removed the enum value
enabledof the request property - info
added the new
deletedenum value to the request property - info
added the new
disabledenum value to the request property - info
added the new
enabledenum value to the request property
- breaking