Create a record by password

POST /api/verifications/password

Create a verification record by verifying the password.

application/json

Body Required

  • password string Required

    The password of the user.

    Minimum length is 1.

Responses

  • 201 application/json

    The verification record was created successfully.

    Hide response attribute Show response attribute object
  • Bad Request

  • Unauthorized

  • Forbidden

  • The password is invalid.

POST /api/verifications/password
curl \
 -X POST https://[tenant_id].logto.app/api/verifications/password \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"password":"string"}'
Request examples
{
  "password": "string"
}
Response examples (201)
{
  "verificationRecordId": "string"
}