Reset a password

Reset a password from a user.

Request

POST https://api.nexway.store/iam/users/resetpassword/{realm}/{token}

Path parameters

Parameter name Value Description Additional
realm string

realm

Required
token string

token

Required

Request body

The request body takes a complete UserCredential resource, containing the following writable properties:

{
    "password": "string"
}

Properties

Name Type Description Additional
password string

password related to a user.

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

{
    "password": "ffe53FfeG155"
}

Explore this API

realm

realm

token

token

userCredential

userCredential

Request Content-Type
Response Content-Type

Choose an authorisation method:

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