Skip to main content
PUT
Set one user's, role's or service identity's registry access

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

A user's, role's or service identity's registry access: the full state.

kind
enum<string>
required
Available options:
user,
role,
identity
name
string
required

A username, a realm role (not an nx1_ one), or a service identity's slug.

Required string length: 1 - 255
limited
boolean
required

True: they see and use only the items given. False: everything.

grants
ItemGrant · object[]
Maximum array length: 1000

Response

Successful Response

What one user, role or service identity may have.

kind
enum<string>
required
Available options:
user,
role,
identity
name
string
required

The username, role, or identity slug.

limited
boolean
required
items
GivenItem · object[]
updated_by
string | null
updated_at
string<date-time> | null