Add or remove one or more children for an entitlement.

In the add operation you can use two kinds of payload. The first is to use only the code attribute to add an entitlement that already exists as child. The second is to use the name and type attributes. In this case if the child entitlement don't exist, it will be created and added as child.

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

Path Params
string
required

The code of the entitlement.

Body Params

The list of children to add or remove.

add
array of objects

List of entitlements children to add

add
remove
array of strings

List of entitlements children to remove

remove
rights
array of objects

Fixed right values for each permissions

rights
rightsV2
array of objects

Fixed multiple rights for each permissions

rightsV2
Responses

500

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

Language
URL
Response
Choose an example:
application/json