Skip to main content

Update the user ABHA profile Photo, update the child ABHA profile

Update the ABHA (Ayushman Bharat Health Account) profile. It is particularly useful for updating the profile and information of individuals.

PATCH/abha/api/v3/profile/account

The endpoint allows users to update essential details such as the ABHA number, date of birth, name, and gender.

<br><br>Note: Non-KYC (Know Your Customer) verified ABHA users are permitted to update their profile only once. After the initial update, any further attempts to modify the profile will result in an error. This restriction ensures data integrity and prevents unauthorised changes.

Authorizations

Authorizationbearer tokenRequired

Headers

X-tokenstringRequired

The user token from a login or enrolment response.

TIMESTAMPstringRequired
REQUEST-IDstringRequired
BENEFIT_NAMEstringRequired

Body

abhaNumberstringRequired
dobstringRequired
namestringRequired
genderstringRequired

Responses

200

Indicates a successful request. The response includes the updated child ABHA profile details

400

This error indicates that the request contains a field that is not valid for updating. In the context of updating a resource, certain fields may be restricted or immutable

Error codes for this module

401

Indicates an unauthorized request due to invalid credentials

Everything returns 401

404

This error indicates that the system could not find a user account associated with the provided ABHA (Ayushman Bharat Health Account) number or other identifying information. This can happen if the ABHA number is incorrect, the user does not exist in the system, or there is a mismatch in the provided details

Error codes for this module

422

This error indicates that a non-KYC (Know Your Customer) verified CHILD ABHA (Ayushman Bharat Health Account) user is permitted to update their profile only once. After the initial update, any further attempts to modify the profile will result in this error. This restriction is likely in place to ensure data integrity and prevent unauthorized changes.

Error codes for this module

500

<b>Internal Server Error</b><br><br> An Internal Server Error (500) indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

Error codes for this module