Internal User Two Factor

Exchange a two_factor_token and totp_token for a JWT.

Request

posthttps://api.cloudsmith.io/v2/internal/user/two-factor
Body params optional

Response body

object

object

totp_token
string
required
length ≥ 1
two_factor_token
string
required
length ≥ 1

Response

Responses

Created

object

object

access_token
string
optional
length ≥ 1
refresh_token
string
optional
length ≥ 1

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1