Skip to main content
PATCH
/
v1
/
api
/
superadmin
/
agencies
/
{id}
/
kyc
/
documents
/
{docId}
/
approve
Approve a KYC document
curl --request PATCH \
  --url http://localhost:3091/v1/api/superadmin/agencies/{id}/kyc/documents/{docId}/approve \
  --header 'Authorization: Bearer <token>'
{
  "status": 404,
  "errorCode": "RESOURCE_NOT_FOUND",
  "message": "Ressource non trouvée",
  "timestamp": "2023-11-07T05:31:56Z",
  "path": "/v1/api/bookings/123",
  "debugInfo": "<string>",
  "suggestions": [
    "<string>"
  ],
  "fieldErrors": [
    {
      "field": "email",
      "message": "must not be blank",
      "rejectedValue": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

id
integer<int64>
required
docId
integer<int64>
required

Response

Document approved