SmartGare
API referenceEndpoints

Withdraw the validation of a carrier's training or contract

Withdraws the step's validation with a reason, kept with who and when beside it; the onboarding shows the step to do again. **Required permission:** `referential.carrier:write`

POST/referential/v1/carriers/{id}/onboarding/{step}/withdrawal

Withdraws the step's validation with a reason, kept with who and when beside it; the onboarding shows the step to do again.

Required permission: referential.carrier:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string
step*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*WithdrawCarrierOnboardingStepRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/carriers/string/onboarding/string/withdrawal" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "carrier_id": "string",  "id": "string",  "note": "string",  "step": "string",  "validated_at": "2019-08-24T14:15:22Z",  "validated_by": "string",  "withdrawal_reason": "string",  "withdrawn_at": "2019-08-24T14:15:22Z",  "withdrawn_by": "string"}