Skip to main content

Update role and category

POST/profile/updateRole

Authorizations

Authorizationbearer tokenRequired

M4 declares bearer authentication. The HPID calls publish POST /getManagementToken.

Body

firstNamestring

First Name of the user).

lastNamestring

Last name of the user

middleNamestring

Middle name of the user

hprIdstring

Healthcare Professional ID Alias.

passwordstring

User Authentication password.

emailstring

Email Address of the user.

profilePhotostring

Profile photo of the user (Uploaded by the user).

stateCodestring

State Code of the user (LGD).

districtCodestring

District Code of the user (LGD).

subdistrictCodestring

Sub District Code of the user (LGD).

villageCodestring

Village Code of the user (LGD).

townCodestring

Town Code of the user (LGD).

wardCodestring

Ward Code of the user (LGD).

pincodeinteger

Pincode of the user.

addressstring

Address of the user.

yearOfBirthstring

Year of birth of the user.

monthOfBirthstring

Month of birth of the user.

dayOfBirthstring

Day of birth of the user.

hpCategoryCodestring
hpSubCategoryCodestring
txnIdstring
rolestring
consentToDeleteboolean

Responses

200

OK

404

Not Found