🚀 Borderless Benchmark now LIVE!
cURL
curl --request DELETE \ --url https://sandbox-api.borderless.xyz/v1/identities/{id}/documents/{documentId} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "type": "Personal", "status": "Active", "suspensionReason": "<string>", "deleted": true, "hasComplianceChecks": true, "data": { "firstName": "<string>", "lastName": "<string>", "secondLastName": "<string>", "middleName": "<string>", "taxId": "<string>", "dateOfBirth": "YYYY-MM-DD", "email": "<string>", "phone": "<string>", "activity": "<string>", "sex": "Male", "address": { "id": "<string>", "street1": "<string>", "street2": "<string>", "city": "<string>", "state": "<string>", "country": "AF", "postalCode": "<string>" }, "documents": [ { "id": "<string>", "issuingCountry": "AF", "type": "Passport", "idNumber": "<string>", "issuedDate": "YYYY-MM-DD", "expiryDate": "YYYY-MM-DD" } ], "occupationCode": "132011", "employmentStatus": "Employed", "sourceOfFunds": "CompanyFunds", "accountPurpose": "CharitableDonations", "monthlyAmounts": "LessThan5K", "actingAsIntermediary": true, "citizenship": "AF" } }
Delete a document by id from the specified identity.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Identity data
Personal
Business
Active
Inactive
Suspended
Show child attributes
Was this page helpful?