Send Recovery Code Email

Sends a recovery verification code to the user. This code serves as a second factor to confirm that the user initiated the account recovery request.

HTTP request
POST /auth/recover/user/code
Request body
Field Type Required Description
username string Yes Minimum length: 1.
orgId string Yes Minimum length: 1.
curl --request POST \
  --url https://api.digitalassets.ibm.com/auth/recover/user/code \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "orgId": "<string>"
}
'
Response
200: Success

Example response:

{
  "message": "<string>"
}