SmartGare
API referenceEndpoints

Withdraw a tariff release

Withdraws a draft, a submitted release, or an approved one whose instant has not come. **Required permission:** `ticketing.tariff:write`

POST/ticketing/v1/tariff-releases/{id}/withdraw

Withdraws a draft, a submitted release, or an approved one whose instant has not come.

Required permission: ticketing.tariff:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X POST "https://example.com/ticketing/v1/tariff-releases/string/withdraw"
{  "id": "string",  "status": "DRAFT",  "withdrawn_at": "2019-08-24T14:15:22Z"}