ZITADEL Docs
APIsCore ResourcesV2User

RemoveOTPEmail

Remove One-Time Password (OTP) Email from a user

Remove the configured One-Time Password (OTP) Email factor of a user. As only one OTP Email per user is allowed, the user will not have OTP Email as a second factor afterward.

DELETE
/v2/users/{user_id}/otp_email

Path Parameters

user_id*string

Response Body

application/json

application/json

curl -X DELETE "https://loading/v2/users/string/otp_email"
{
  "details": {
    "sequence": 0,
    "changeDate": "1s",
    "resourceOwner": "string",
    "creationDate": "1s"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?