User Totp Enable Totp

Request

posthttps://api.cloudsmith.io/v2/user/totp/enable
Body params optional

Response body

object

object

confirmed
boolean
optional
digits
integer
optional
Allowed values: 6, 8
step
integer
optional
token
string
optional
length ≥ 1

Response

Responses

TOTP Device Created Successfully.

object

object

confirmed
boolean
optional
digits
integer
optional
Allowed values: 6, 8
qr_code_encoded_image
string
optional
secret_key
string
optional
step
integer
optional

TOTP is already enabled for the user.

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1