curl --request PATCH \
--url http://localhost:8080/users/{user_id}/dependants/{dependant_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date_of_birth": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"salutation": "mr"
}
'{
"created_at": "<string>",
"date_of_birth": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"id": "<string>",
"last_modified_at": "<string>",
"last_name": "<string>",
"primary_user_id": "<string>",
"relationship": "self",
"salutation": "mr",
"status": "active",
"previous_version_id": "<string>"
}curl --request PATCH \
--url http://localhost:8080/users/{user_id}/dependants/{dependant_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date_of_birth": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"salutation": "mr"
}
'{
"created_at": "<string>",
"date_of_birth": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"id": "<string>",
"last_modified_at": "<string>",
"last_name": "<string>",
"primary_user_id": "<string>",
"relationship": "self",
"salutation": "mr",
"status": "active",
"previous_version_id": "<string>"
}JWT access token. Obtain from /auth/otp/verify endpoint.
Dependant updated
"2000-01-15"
User gender.
male, female, other Relationship of a dependant to the primary user.
self, spouse, mother, father, child, father_in_law, mother_in_law, sibling Title or honorific for a person.
mr, mrs, ms, master Dependant row lifecycle status.
active, discarded