Skip to main content

Remove TOTP generator from a user

DELETE 

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

Remove the configured TOTP generator of a user. As only one TOTP generator per user is allowed, the user will not have TOTP as a second factor afterward.

Request​

Path Parameters

    userId stringrequired

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
curl -L -X DELETE 'https://$CUSTOM-DOMAIN/v2/users/:userId/totp' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN
Auth
Parameters
— pathrequired
ResponseClear

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