Update Profile
POST
/profile/_updateLast modified: 6 months ago
End-point to create the user without otp validation.
Request
Header Params
Content-Type
string
optional
Example:
application/json;charset=UTF-8
Body Params text/plain
Example:{
"user": {
"id": 29392,
"uuid": "3b68bb99-310b-4fb4-ae27-ddb948cab9e3",
"userName": "AllAcessMustak",
"name": "mustak",
"mobileNumber": "9353822214",
"emailId": "xyz@egovernments.org",
"locale": "string",
"type": "EMPLOYEE",
"roles": [
{
"name": "FSM Administrator",
"code": "FSM_ADMIN",
"tenantId": "pg"
},
{
"name": "Employee",
"code": "EMPLOYEE",
"tenantId": "pg"
},
{
"name": "Grievance Routing Officer",
"code": "GRO",
"tenantId": "pg"
},
{
"name": "FSM Desluding Operator",
"code": "FSM_DSO",
"tenantId": "pg"
},
{
"name": "FSM Employee Report Viewer",
"code": "FSM_REPORT_VIEWER",
"tenantId": "pg"
},
{
"name": "System user",
"code": "SYSTEM",
"tenantId": "pg"
},
{
"name": "PGR Last Mile Employee",
"code": "PGR_LME",
"tenantId": "pg"
},
{
"name": "Citizen",
"code": "CITIZEN",
"tenantId": "pg"
},
{
"name": "Super User",
"code": "SUPERUSER",
"tenantId": "pg"
},
{
"name": "HRMS ADMIN",
"code": "HRMS_ADMIN",
"tenantId": "pg"
},
{
"name": "Department Grievance Routing Officer",
"code": "DGRO",
"tenantId": "pg"
}
],
"active": true,
"tenantId": "pg",
"permanentCity": "Kaikoo"
}
,
"RequestInfo": {
"apiId": null,
"ver": null,
"ts": null,
"action": "POST",
"did": null,
"key": null,
"msgId": "5bfa85e7-dfa1-47c8-98b2-747bf552be86",
"authToken": "50b80fa6-bec2-438e-a168-ce5ad53770b5"
}
}
Request samples
Responses
Update user(s) successful(200)
Update user(s) failed(400)
Update user(s) successful
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 6 months ago