User Token Create

Retrieve/Create API key/token for the authenticated user.

Request

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

Response body

object

object

email
email
optional
length ≥ 1
password
string
optional
length ≥ 1

Response

Responses

Retrieved/created user API token/key.

object

object

token
string
optional
length ≥ 1

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Locked out.

object

object

detail
string
required
length ≥ 1

Failed to authenticate.

object

object

detail
string
required
length ≥ 1