SmartGare
API referenceEndpoints

Revoke a permit

Withdraws a non-revoked permit before its term, with a stated reason. **Required permission:** `referential.vehicle:write`

POST/referential/v1/vehicle-permits/{permitId}/revocation

Withdraws a non-revoked permit before its term, with a stated reason.

Required permission: referential.vehicle:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RevokeVehiclePermitRequest

Response Body

curl -X POST "https://example.com/referential/v1/vehicle-permits/{permitId}/revocation" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
Empty