v1
latestOpenAPI 3.0.02026-08-0696238481.7 KBPersons
Deletes a person by Id
Deletes a person under the account. This will also delete any files currently attached to the person. Note that you can only delete a person if verification.status is NotRequired or Required
delete/accounts/{id}/persons/{personId}
Path parameters
idstring required
Example:ac_b83f2653-06d7-44a9-a548-5825e8186004
the account id of one of your sub accounts
personIdstring required
Example:per_01FCTS1XMKH9FF43CAFA4CXT3P
Person to delete
Response
Successfully deleted the given Person
Example response
{
"id": "per_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"firstName": "Fred",
"middleNames": "David",
"lastName": "Jones",
"email": "fred.jones@example.com",
"dateOfBirth": "1990-01-20",
"countryOfBirth": "GB",
"gender": "Male",
"nationalities": [
"GB"
],
"address": {
"lineOne": "123 Test Street",
"city": "Manchester",
"country": "GB",
"postalCode": "SP4 7DE"
},
"phoneNumber": "+447900000000",
"businessRoles": [
"BusinessContact",
"Director"
],
"verification": {
"status": "Required",
"requiredFields": [
{
"name": "phoneNumber"
}
],
"requiredDocuments": [
{
"category": "ProofOfIdentity",
"types": [
"BankStatement"
],
"quantity": 1
}
],
"errors": [
{
"code": "InvalidDocument",
"id": "fl_01HAAHFQKEF4V7S6H3BTA3H85G",
"description": "File corrupted or image not clear"
}
]
},
"documents": [
{
"type": "BankStatement",
"category": "ProofOfIdentity",
"front": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"back": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"status": "Pending",
"invalidReason": "Document has expired",
"country": "GB",
"assignedTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}
],
"metadata": {
"accountId": "1"
},
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}