Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Verify a TOTP generator for a user

Verify the TOTP registration with a generated code..

POST
/v2/users/{user_id}/totp/verify

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
code*code

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/v2/users/string/totp/verify' \  -H 'Content-Type: application/json' \  -d '{  "code": "string"}'
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?