Validates password
POST<your-unleash-url>/auth/reset/validate-password
Verifies that the password adheres to the Unleash password guidelines
Request
- application/json
Bodyrequired
validatePasswordSchema
passwordstringrequired
The password to validate
Example:
hunter2
Responses
- 200
- 400
- 415
This response has no body.
The request data does not match what we expect.
- application/json
- Schema
- Example (auto)
Schema
idstring
The ID of the error instance
Example:
9c40958a-daac-400e-98fb-3bb438567008
namestring
The name of the error kind
Example:
ValidationError
messagestring
A description of what went wrong.
Example:
The request payload you provided doesn't conform to the schema. The .parameters property should be object. You sent [].
{
"id": "9c40958a-daac-400e-98fb-3bb438567008",
"name": "ValidationError",
"message": "The request payload you provided doesn't conform to the schema. The .parameters property should be object. You sent []."
}
The operation does not support request payloads of the provided type. Please ensure that you're using one of the listed payload types and that you have specified the right content type in the "content-type" header.
- application/json
- Schema
- Example (auto)
Schema
idstring
The ID of the error instance
Example:
9c40958a-daac-400e-98fb-3bb438567008
namestring
The name of the error kind
Example:
ContentTypeerror
messagestring
A description of what went wrong.
Example:
We do not accept the content-type you provided (application/xml). Try using one of the content-types we do accept instead (application/json) and make sure the body is in the corresponding format.
{
"id": "9c40958a-daac-400e-98fb-3bb438567008",
"name": "ContentTypeerror",
"message": "We do not accept the content-type you provided (application/xml). Try using one of the content-types we do accept instead (application/json) and make sure the body is in the corresponding format."
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/auth/reset/validate-password' \
-H 'Content-Type: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"password": "hunter2"
}'
ResponseClear