User Profile Update
API URL | {{url}}/user-service/user/update |
Method | POST |
Description | Update user profile |
Input
Field Name | Type | Mandatory | Example |
Authorization (Header) | String | Yes | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
Sample Input
{
"id": 2,
"username": "supexxxin-bd@sxxxce.mxxt",
"gender": "Female",
"roles": [
{
"id": 2,
"name": "SUPER_ADMIN",
"level": null,
"authority": "SUPER_ADMIN",
"createdBy": 1,
"updatedBy": 1,
"createdAt": "2023-01-12T09:00:47-08:00",
"updatedAt": "2023-01-12T09:00:47-08:00",
"active": true,
"deleted": false
}
],
"active": true,
"firstName": "Superadmin",
"lastName": "Test",
"phoneNumber": "244XXX45XX",
"timezone": {
"id": 107,
"createdBy": null,
"updatedBy": null,
"createdAt": "2022-05-10T22:49:06-08:00",
"updatedAt": "2022-05-10T22:49:06-08:00",
"abbreviation": "BST",
"description": "(UTC+06:00) Bangladesh Standard Time",
"offset": "+06:00",
"active": true,
"deleted": false
},
"organizations": [],
"isBlocked": false,
"countryCode": "202",
"tenantId": 15,
"isSuperUser": false,
"defaultRoleName": "SUPER_ADMIN",
"redRisk": false,
"roleName": "SUPER_ADMIN",
"culture": {
"id": 1,
"name": "English - India"
}
}
Sample Output
{
"message": "User updated successfully.",
"entity": {
"id": 2,
"createdBy": 1,
"updatedBy": 2,
"createdAt": "2023-03-07T20:26:43-08:00",
"updatedAt": "2023-05-03T02:15:37-08:00",
"username": "superadXXX-bd@XXX.XXX",
"gender": "Female",
"roles": [
{
"id": 2,
"name": "SUPER_ADMIN",
"level": null,
"authority": "SUPER_ADMIN",
"createdBy": 1,
"updatedBy": 1,
"createdAt": "2023-01-12T09:00:47-08:00",
"updatedAt": "2023-01-12T09:00:47-08:00",
"active": true,
"deleted": false
}
],
"active": true,
"blockedDate": null,
"forgetPasswordToken": null,
"forgetPasswordTime": "2023-03-24T02:59:08-08:00",
"forgetPasswordCount": 1,
"invalidLoginTime": null,
"invalidLoginAttempts": 0,
"invalidResetTime": null,
"isPasswordResetEnabled": false,
"passwordResetAttempts": 0,
"lastLoggedIn": null,
"lastLoggedOut": null,
"address": null,
"accountExpired": false,
"accountLocked": false,
"credentialsExpired": false,
"authorization": null,
"currentDate": 0,
"firstName": "Superadmin",
"lastName": "Test",
"middleName": null,
"subject": null,
"phoneNumber": "244XX345XX",
"country": null,
"timezone": {
"id": 107,
"offset": "+06:00",
"description": "(UTC+06:00) Bangladesh Standard Time"
},
"organizations": [],
"isBlocked": false,
"countryCode": "202",
"deviceInfoId": null,
"tenantId": 15,
"isSuperUser": false,
"cultureId": null,
"deleted": false,
"licenseAcceptance": false
},
"status": true,
"entityList": null,
"responseCode": 200,
"totalCount": null
}
Last updated