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:

{
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "password": "string",
    "status": "string",
    "userName": "string"
}

Properties

Name Type Description Additional
email string
firstName string

User first name

lastName string

User last name

password string

password

status string

Possible values are:

  • ENABLED
  • DISABLED
userName string

Username

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

Example

{
    "firstName": "john",
    "lastName": "Doe",
    "password": "XdefH!E",
    "userName": "jdoe"
}

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!