Update a key person
Update a key person's details
PUT https://sandbox-api.com/v1/users/{user_id}/key_people/{key_person_id}
Path Parameters
user_id*
string
The uuid of the user
key_person_id*
string
The uuid of the key person
Request Body
address*
object
The person's address. Must be a valid address. For the address schema, see The user object.
middle_name
string
The person's middle name. Must pass the regex ^([aA-zZ]+[,.]?[ ]?|[aA-zZ]+['’-]?)+$
first_name*
string
The person's first name. Must pass the regex ^([aA-zZ]+[,.]?[ ]?|[aA-zZ]+['’-]?)+$
email*
string
The person's email address.
dob*
string
The person's date of birth, formatted as YYYY/MM/DD. The minimum age accepted is 18 years old.
ID number*
string
The user's national ID or passport number IDN). The IDN must be AES encrypted In CBC Mode using your secret_key (see Creating and Managing Users for more detai
phone*
string
The person's phone number. Must be a valid phone number.
last_name*
string
The person's last name. Must pass the regex ^([aA-zZ]+[,.]?[ ]?|[aA-zZ]+['’-]?)+$
title*
string
The person's role at the company. Acceptable values: "OWNER", "DIRECTOR", "BENEFICIARY"
{
"uuid": "2acf04c3-48d1-456f-a54e-1m4251814478",
"first_name": "Blair",
"middle_name": "Cassidy",
"last_name": "Dufresne",
"title": "BENEFICIARY",
"citizenship": "CM",
"email": "[email protected]",
"phone": "+237696723456",
"address": {
"line_1": "5161 Stansfield Dr",
"line_2": null,
"line_3": null,
"zip": "18092",
"city": "Douala",
"region": "LT",
"country": "CAMEROON"
}
}Last updated