API referenceEndpoints
Move an authorized line to another bay
Ends the entry that day and starts a new one on the new bay, keeping both. The same bay again changes nothing. **Required permission:** `traffic.fixed-bay:write`
POST
/traffic/v1/fixed-bays/{id}/changeEnds the entry that day and starts a new one on the new bay, keeping both. The same bay again changes nothing.
Required permission: traffic.fixed-bay:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*ChangeFixedBayRequest
Response Body
*/*
*/*
curl -X POST "https://example.com/traffic/v1/fixed-bays/string/change" \ -H "Content-Type: application/json" \ -d '{ "bay_id": "string", "reason": "string", "starts_on": "2019-08-24" }'{ "authorization_id": "string", "bay_id": "string", "coordination_clash": "string", "ended_at": "2019-08-24T14:15:22Z", "ended_by": "string", "ended_reason": "string", "ends_on": "2019-08-24", "id": "string", "line_id": "string", "planned_at": "2019-08-24T14:15:22Z", "planned_by": "string", "reason": "string", "starts_on": "2019-08-24"}