Send User Recovery Verification Email

PUT /auth/recover/user/code

Sends the user a recovery verification code. This code is used as a second factor to verify the user initiated the recovery request.

Required Permissions

Since this endpoint is not authentication, the permissions apply to the application only.

NameConditions

Auth:Users:Create

Always Required

Auth:Types:Employee

When kind is CustomerEmployee

Auth:Types:EndUser

When kind is EndUser

Request body

username *

String

email of the user

orgId *

String

globally unique ID of the organization of the user

Example

{
  "username": "jdoe@example.co",
  "orgId": "or-34513-nip9c-8bppvgqgj28dbodrc"
}

Responses

Success - generic success message

{
    "message": "success"
}

Last updated