Update a user

Update a user from a customer.

Request

PUT https://api.nexway.store/iam/users/{id}

Path parameters

Parameter name Value Description Additional
id string

id

Required

Request body

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"
}

Properties

Name Type Description Additional
authorizedCustomers[] array

List of authorized customer

Optional
authorizedCustomers[].customerId string

Customer id

Optional
authorizedCustomers[].name string

Customer name

Optional
email 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:

  • ENABLED
  • DISABLED
userName string

Name

Authorisation

You need to have a valid JWT to access to this API. Please read JWT Authentication.

This request requires the use of one of following authorisation methods: OAuth2.

Response

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


Explore this API

id

id

domain

domain

Request Content-Type
Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!