curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/register/totp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "totp",
"code": "<string>"
}'
{
"type": "totp",
"verified": true,
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"createdAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"default": true,
"alias": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
totp code
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/register/totp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "totp",
"code": "<string>"
}'
{
"type": "totp",
"verified": true,
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"createdAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"default": true,
"alias": "<string>"
}
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/register/totp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "totp",
"code": "<string>"
}'
{
"type": "totp",
"verified": true,
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"createdAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"default": true,
"alias": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
totp code
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/register/totp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "totp",
"code": "<string>"
}'
{
"type": "totp",
"verified": true,
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"createdAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"default": true,
"alias": "<string>"
}