Internal User Escalate

Request

posthttps://api.cloudsmith.io/v2/internal/user/escalate
Query params
next
string
The URL to redirect to after successful privilege escalation.
Body params optional

Response body

object

object

access_token
string
optional
length ≥ 1
password
string
optional
length ≥ 1
refresh_token
string
optional
length ≥ 1
token
string
optional
length ≥ 1
type
string
required
Allowed values: totp, password

Response

Responses

Verification type missing or invalid, or the redirect URL is invalid

object

object

detail
string
required
length ≥ 1

The verification failed

object

object

detail
string
required
length ≥ 1