Tokens

User Tokens Refresh

Refresh the specified API key for the user that is currently authenticated.

Request

puthttps://api.cloudsmith.io/v1/user/tokens/{slug_perm}/refresh

Response

Responses

Successfully refreshed the API key.

object

object

created
date-time
optional
key
string
optional
slug_perm
string
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

The specified API key cannot be found.

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional