SmartGare
API referenceEndpoints

Replace an identifier

Revokes an active identifier with a stated reason and enrols the new value on the same vehicle and technology, in one step — how a coach serving an authorization changes its UHF tag. **Required permission:** `referential.vehicle:write`

POST/referential/v1/vehicle-identifiers/{identifierId}/replacement

Revokes an active identifier with a stated reason and enrols the new value on the same vehicle and technology, in one step — how a coach serving an authorization changes its UHF tag.

Required permission: referential.vehicle:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ReplaceVehicleIdentifierRequest

Response Body

*/*

*/*

*/*

curl -X POST "https://example.com/referential/v1/vehicle-identifiers/{identifierId}/replacement" \  -H "Content-Type: application/json" \  -d '{    "reason": "string",    "value": "string"  }'
{  "id": "string"}