Grant or revoke one or more entitlements to a user.

Entitlements required: tenantadmin [Tenant Administrator], manageAppAccessOwner [Manage Application Entitlements], manageEntitlements [Manage Entitlements].

Note: The API is used to grant or revoke application entitlements to a certain CD user. The list of entitlements can be obtained via POST /authz/v1.0/entitlements/search."

The user id is to be provided in the textbox under Path Params. The id (s) of the entitlement (s), to be grated or revoked, is required to be entered in the textbox provided under Body Params. The {tenant_url} can be replaced in the Base URL with the actual value. The entered values get reflected in the Request code. The preferred language can be selected from the right panel to generate the selected Response example

Path Params
string
required

The code or unique identifier of the user.

Body Params

The list of entitlements to grant to or revoke from the user.

grant
array of objects

List of entitlements to grant

grant
revoke
array of objects

List of entitlements to revoke

revoke
Responses

500

Your request can't be processed because an internal server error occurred.

Language
URL
Response
Choose an example:
application/json