Update a document

URL

POST https://api.complycube.com/v1/documents/:id

Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Headers

Path parameters

Body

Example request

curl -X POST https://api.complycube.com/v1/documents/{:documentId} \
     -H 'Authorization: <YOUR_API_KEY>' \
     -H 'Content-Type: application/json' \
     -d '{
          	"type": "passport" 
        }'

Example responses

{
    "id": "5eb158880c19580007310f22",
    "clientId": "5eb1276d96be4a0008713af5",
    "type": "passport",
    "classification": "proof_of_identity",
    "issuingCountry": "GB",
    "createdAt": "2020-01-04T17:24:29.146Z",
    "updatedAt": "2020-01-04T17:13:10.712Z"
}

Last updated