Site User - Update
API URL | {{url}}/admin-service/site/user-update |
Method | PUT |
Description | Update site user |
Input:
Field Name | Type | Mandatory | Example |
firstName | String | Yes | Anokwe |
lastName | String | Yes | Wek |
phoneNumber | String | Yes | 4387XXX754 |
gender | String | No | Male |
username | String | Yes | "aonwxxx@gmail.com" |
id(Country id) | Number | Yes | 3 |
id(Timezone) | Number | Yes | 60 |
roleName | String | Yes | PHYSICIAN_PRESCRIBER |
countryCode | Number | Yes | 233 |
redRisk | String | No | false |
name(Roles) | String | Yes | PHYSICIAN_PRESCRIBER |
tenantId | Number | Yes | 174 |
Sample Input:
{ "id": 6762, "username": ""aonwxxx@gmail.com"", "gender": "", "roles": [ { "id": 22, "name": "PHYSICIAN_PRESCRIBER" } ], "active": true, "firstName": "Anokwe", "lastName": "Wek", "phoneNumber": "4387XXX754", "country": "3", "timezone": { "id": 60 }, "organizations": [ { "id": 174, "tenantId": 251, "formDataId": 55, "formName": "site", "name": "Medfocus International", "sequence": 600708, "parentOrganizationId": 251 } ], "countryCode": "254", "tenantId": 174, "isSuperUser": false, "redRisk": false, "roleName": "PHYSICIAN_PRESCRIBER" }