SmartGare
API referenceEndpoints

Retire a fee kind

Retires a kind only when no current or future fee still requires it. **Required permission:** `referential.fee-kind:write`

POST/referential/v1/fee-kinds/{id}/retirement

Retires a kind only when no current or future fee still requires it.

Required permission: referential.fee-kind:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/fee-kinds/string/retirement"
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "label": "string",  "retired_at": "2019-08-24T14:15:22Z",  "retired_by": "string",  "station_id": "string",  "status": "ACTIVE",  "updated_at": "2019-08-24T14:15:22Z"}