SmartGare
API referenceEndpoints

Release a bay assignment

Ends the commitment and gives the bay back from that moment. Freeing a bay is not filling it: nothing is assigned to it in return, and assigning the same departure again is a new commitment with its own history. **Required permission:** `traffic.assignment:write`

POST/traffic/v1/bay-assignments/{id}/release

Ends the commitment and gives the bay back from that moment. Freeing a bay is not filling it: nothing is assigned to it in return, and assigning the same departure again is a new commitment with its own history.

Required permission: traffic.assignment:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ReleaseBayAssignmentRequest

Response Body

curl -X POST "https://example.com/traffic/v1/bay-assignments/string/release" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
Empty