SmartGare
API referenceEndpoints

Reject a proposal from the ministry, with a reason

Keeps it as rejected, with who, when and why; nothing is recorded. **Required permission:** `referential.authorization:write`

POST/referential/v1/authorization-proposals/{id}/rejection

Keeps it as rejected, with who, when and why; nothing is recorded.

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*RejectAuthorizationProposalRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/authorization-proposals/string/rejection" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "proposal_id": "string",  "reason": "string",  "rejected_at": "2019-08-24T14:15:22Z",  "rejected_by": "string"}