Skip to main content
POST
POST /v2/users/:user-id/rights

Authorizations

Authorization
string
header
required

Ledger API standard JWT token

Path Parameters

user-id
string
required

Body

application/json

Add the rights to the set of rights granted to the user.

Required authorization: HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)

userId
string
required

The user to whom to grant rights.

Required

rights
Right · object[]

The rights to grant.

Optional: can be empty

identityProviderId
string

The id of the Identity Provider If not set, assume the user is managed by the default identity provider.

Optional

Response

newlyGrantedRights
Right · object[]

The rights that were newly granted by the request.

Optional: can be empty