Update Child ABHA profile
Updates the demographic details (name, DOB, gender) of a Child ABHA. Send Benefit-Name and the X-token from the Child ABHA creation response.
A non-KYC Child ABHA can be updated only once.
Endpoint: PATCH /abha/api/v3/profile/account
Flow: Benefit - Child ABHA - step 4 of 6
- Previous: Get Child ABHA list of the parent
- Next: Child ABHA KYC - send Aadhaar OTP
Headers (plus Authorization: Bearer <gateway token>):
| Header | Required | Description |
|---|---|---|
| TIMESTAMP | yes | Current UTC timestamp in ISO-8601 format. |
| REQUEST-ID | yes | Unique UUID for every request. |
| Benefit-Name | yes | Benefit / programme name approved by NHA for the integrator. |
| X-token | yes | User token (Bearer <token>) received after verification / login. |
Request body for this use case:
| Field | Value / Type | Required | Description |
|---|---|---|---|
abhaNumber |
string | yes | 14 digit ABHA number (xx-xxxx-xxxx-xxxx). |
dob |
string | yes | Date of birth (d-M-yyyy). |
name |
string | yes | Full name. |
gender |
string | yes | Gender (M / F / O). |
Responses
200Success: CHILD ABHA-Child Details
ABHANumberstringpreferredAbhaAddressstringmobilestringfirstNamestringmiddleNamestringlastNamestringyearOfBirthintegermonthOfBirthintegerdayOfBirthintegergenderstringstatusstringstateCodeintegerdistrictCodeintegerstateNamestringdistrictNamestringsubdistrictNamestringauthMethodsstring[]tagsobjectkycVerifiedbooleanverificationStatusstringverificationTypestringcreatedDatestring400Bad Request (request validation failed): CHILD ABHA-Access Issue
errorobjecterror.messagestringerror.timestampstring401Unauthorized (invalid / expired gateway token, X-token or benefit access): CHILD ABHA-Access Issue
errorobjecterror.codestringerror.messagestring404Not Found: CHILD ABHA-Access Issue
errorobjecterror.codestringerror.messagestring422Unprocessable Entity (business rule or UIDAI failure): CHILD ABHA-Access Issue
errorobjecterror.codestringerror.messagestring