SmartGare
API referenceEndpoints

Assign an authorization to a holder

Hands the authorization to a carrier — the register's Exploitant — from a date. Any holder in place is closed the day before, so the register keeps one answer per date. **Required permission:** `referential.authorization:write`

POST/referential/v1/authorizations/{id}/holders

Hands the authorization to a carrier — the register's Exploitant — from a date. Any holder in place is closed the day before, so the register keeps one answer per date.

Required permission: referential.authorization:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*AssignTransportAuthorizationHolderRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/authorizations/string/holders" \  -H "Content-Type: application/json" \  -d '{    "carrier_id": "string",    "effective_from": "2019-08-24"  }'
{  "id": "string"}