Skip to main content
POST

Grant rights to a user. Granting rights does not affect the resource version of the corresponding user.

Authorizations

httpAuth

string
required
HTTP bearer authentication. Send the token as Authorization: Bearer <token>. Ledger API standard JWT token

apiKeyAuth

string
required
API key authentication in the header. Ledger API standard JWT token (websocket)

Path parameters

string
required

Body

application/json
string
required
The user to whom to grant rights. Required
object[]
OpenAPI type: Right[].The rights to grant. Optional: can be empty
string
The id of the Identity Provider If not set, assume the user is managed by the default identity provider. Optional

Responses

200

application/json
Right[]
The rights that were newly granted by the request. Optional: can be empty

400

Invalid value, Invalid value for: body
text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Updated3.5

The POST /v2/users/{user-id}/rights operation was updated in this snapshot.

Added3.4