PUT
/
identities
/
{id}
curl --request PUT \
  --url http://localhost:5001/identities/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "identity_type": "individual",
  "first_name": "Chijioke",
  "last_name": "Adeola",
  "other_names": "Emeka",
  "gender": "male",
  "dob": "1990-01-01T00:00:00Z",
  "email_address": "chijioke.adeola@gmail.com",
  "phone_number": "+2347012345678",
  "nationality": "Nigerian",
  "street": "10 Aso Villa Way",
  "country": "Nigeria",
  "state": "Lagos",
  "post_code": "101001",
  "city": "Lagos",
  "created_at": "2023-10-16T10:00:00Z",
  "meta_data": {
    "verified": true,
    "reference": "XYZ123456789"
  }
}'
{
  "message": "Identity updated successfully"
}

Path Parameters

id
string
required
Example:

"idt_0b5f333d-e0b8-4422-8e0e-5d41a767f1db"

Body

application/json
identity_type
string
required
first_name
string
required
last_name
string
required
other_names
string
required
gender
string
required
dob
string
required
email_address
string
required
phone_number
string
required
nationality
string
required
street
string
required
country
string
required
state
string
required
post_code
string
required
city
string
required
created_at
string
required
meta_data
object
required
Example:
{
  "verified": true,
  "reference": "XYZ123456789"
}

Response

200 - application/json; charset=utf-8
OK
message
string
required

Was this page helpful?