v15
latestOpenAPI 3.1.02026-07-1295183803.5 KBMap-Data_Road-Editor
Set the state of a restriction by ID
put/restrictions/{id}/state
Path parameters
idinteger required
Unique ID of the restriction. This is the ID that was generated at the time of creating the restriction.
Query parameters
keystring 32 character alphanumeric string required
Example:key=API_KEY
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"
}