Update a user from a customer.
PUT https://api.nexway.store/iam/users/{id}
Parameter name | Value | Description | Additional |
---|---|---|---|
id | string | id |
Required |
The request body takes a complete UserUpdate resource, containing the following writable properties:
{
"authorizedCustomers": [
{
"customerId": "string",
"name": "string"
}
],
"email": "string",
"firstName": "string",
"lastName": "string",
"roles": [
{
"clientRole": "boolean",
"composite": "boolean",
"composites": {
"application": {
"<key>": [
"string"
]
},
"client": {
"<key>": [
"string"
]
},
"realm": [
"string"
]
},
"containerId": "string",
"description": "string",
"id": "string",
"name": "string",
"scopeParamRequired": "boolean"
}
],
"status": "string",
"userName": "string"
}
Name | Type | Description | Additional |
---|---|---|---|
authorizedCustomers[] | array |
List of authorized customer |
Optional |
authorizedCustomers[].customerId | string |
Customer id |
Optional |
authorizedCustomers[].name | string |
Customer name |
Optional |
string |
E;qil |
Optional | |
firstName | string |
First name |
|
lastName | string |
Last name |
|
roles[] | array |
List of roles |
Optional |
roles[].clientRole | boolean | Optional | |
roles[].composite | boolean | Optional | |
roles[].composites | object | Composites | Optional |
roles[].composites.application | object | Optional | |
roles[].composites.application.<key>[] | array of string | Optional | |
roles[].composites.client | object | Optional | |
roles[].composites.client.<key>[] | array of string | Optional | |
roles[].composites.realm[] | array of string | Optional | |
roles[].containerId | string | Optional | |
roles[].description | string | Optional | |
roles[].id | string | Optional | |
roles[].name | string | Optional | |
roles[].scopeParamRequired | boolean | Optional | |
status | string |
Status Possible values are:
|
|
userName | string |
Name |
You need to have a valid JWT to access this API. Please read JWT Authentication.
This request requires the use of one of following authorisation methods:
OAuth2
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK Success |
|
401 | Unauthorized Unauthorized |
|
403 | Forbidden Forbidden |
|
404 | Not Found Not Found |
|
500 | Internal Server Error Failure |