User Token Restrictions Read

View for viewing and editing user's API token restrictions.

Request

gethttps://api.cloudsmith.io/v2/user/token/restrictions/{token}

Response

Responses

Retrieved the details of the requested restriction.

object

object

cidr
string
required
length ≥ 1
slug_perm
slug | null
optional
^[-a-zA-Z0-9_]+$
length ≥ 1

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Restriction not found.

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1