SmartGare
API referenceEndpoints

Suspend a carrier

Sets a carrier status to suspended. **Required permission:** `referential.carrier:write`

POST/referential/v1/carriers/{id}/suspension

Sets a carrier status to suspended.

Required permission: referential.carrier:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*SuspendCarrierRequest

Response Body

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