SmartGare
API referenceEndpoints

Revoke a permit

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

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

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

AuthorizationBearer <token>

In: header

Path Parameters

permitId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

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