Skip to main content

Start the registration of a TOTP generator for a user

POST 

https://$CUSTOM-DOMAIN/v2/users/:userId/totp

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..

Request​

Path Parameters

    userId stringrequired

Body

required

    object

Responses​

OK

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to (string)
    creationDate date-time
    uri string
    secret string
curl -L 'https://$CUSTOM-DOMAIN/v2/users/:userId/totp' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{}'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN
Auth
Parameters
— pathrequired
Body required
{}
ResponseClear

Click the Send API Request button above and see the response here!