Create a reset password token

Creates a reset password token.

SecurityAPI Key: SecretApiKey or HTTP: JWT
Request
Request Body schema: application/json

ResetPasswordToken resource.

username
required
string

Username associated with the token.

expiredTime
string or null <date-time>

Date and time when the password expires.

post
/password-tokens
Request samples
application/json
{ "username": "string", "expiredTime": "2019-08-24T14:15:22Z" }
Responses

201

Reset password token created.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data sent.

Response samples
application/json
{ "token": "string", "username": "string", "credentialId": "string", "expiredTime": "2019-08-24T14:15:22Z", "_links": [ ] }