SmartGare
API referenceEndpoints

Lift a fault window

Clears a declared fault, so the bay can take a coach again from that moment. Freeing a bay is not filling it: nothing is assigned to it in return. **Required permission:** `traffic.bay-unavailability:write`

POST/traffic/v1/bay-unavailabilities/{id}/lift

Clears a declared fault, so the bay can take a coach again from that moment. Freeing a bay is not filling it: nothing is assigned to it in return.

Required permission: traffic.bay-unavailability:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*LiftBayUnavailabilityRequest

Response Body

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