Skip to main content
POST

JSON Ledger API

Grant rights to a user

OpenAPISince 3.4Changed 3.5
Grant rights to a user. Granting rights does not affect the resource version of the corresponding user.

Protocol Details

Operation IDpostV2UsersUser-idRights
AuthenticationBearer token
Published3.5

Inputs

Path parameters

string
required

Request 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

Outputs

200

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

400

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

Changed3.5

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

Introduced3.4