canton-network-docs/Ledger APIOpenAPI
POST /v2/users/:user
POST /v2/users/:user-id/rights
cURL
POST
POST /v2/users/:user-id/rights
cURL
Authorizations
httpAuthapiKeyAuth
Ledger API standard JWT token
Path Parameters
Body
application/json
Add the rights to the set of rights granted to the user.
Required authorization: HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)
Response
200
application/json
The rights that were newly granted by the request.
Optional: can be empty
Show child attributes
Show child attributes