Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Add OTP Email for a user

Add a new OTP Email factor to the authenticated user. OTP Email will enable the user to verify an OTP with the latest verified email. The email has to be verified to add the second factor..

POST
/v2/users/{user_id}/otp_email

Path Parameters

user_id*user_id

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/v2/users/string/otp_email'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  }}

Was this page helpful?