Update a User
Use the following details to update a User using the REST interface:
HTTP Method
PUT
Endpoint URL
See the REST Service Endpoint topic for more details.
Resource
/admin/user/{id}
Request Parameters
Provide values for the following parameters:
Parameter Name | Data Type | Mandatory |
---|---|---|
id | string | Yes |
createdOn | dateTime | No |
firstName | string | No |
id | string | No |
lastName | string | No |
password | string | No |
roles | string | No |
tenant | string | No |
updatedOn | string | No |
Request Model
Media Type: application/json
{ "createdOn": "2016-07-31T05:17:58.828Z", "firstName": "string", "id": "string", "lastName": "string", "password": "string", "roles": [ "string" ], "tenant": "string", "updatedOn": "2016-07-31T05:17:58.828Z" }
Response Model
{ "data": {}, "duration": 0, "result": { "code": "string", "message": "string", "params": [ "string" ] }, "startTimestampMS": 0 }
Response Codes and Descriptions
Response Code | Description |
---|---|
201 | Created |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |