SmartGare
API referenceEndpoints

Retire a departure zone

Retires a zone: its bays leave it, and it stays readable as history. **Required permission:** `referential.bay:write`

POST/referential/v1/departure-zones/{id}/retirement

Retires a zone: its bays leave it, and it stays readable as history.

Required permission: referential.bay:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RetireDepartureZoneRequest

Response Body

curl -X POST "https://example.com/referential/v1/departure-zones/string/retirement" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
Empty