ZITADEL Docs
APIsCore ResourcesV2User

Start the registration of a TOTP generator for a user

Start the registration of a TOTP generator for a user, as a response a secret returned, which is used to initialize a TOTP app or device..

POST
/v2/users/{user_id}/totp

Path Parameters

user_id*string

Response Body

application/json

curl -X POST "https://loading/v2/users/string/totp"
{
  "details": {
    "sequence": 0,
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string",
    "creationDate": "2023-01-15T01:30:15.01Z"
  },
  "uri": "string",
  "secret": "string"
}

Was this page helpful?