Skip to main content

Bulk update an entitlement list

POST 

/entitlements/bulk-update

This API applies an update to every entitlement of the list.

The number of entitlements to update is limited to 50 items maximum.

The JsonPatch update follows the JSON Patch standard. allowed operations : { "op": "replace", "path": "/privileged", "value": boolean } { "op": "replace", "path": "/requestable","value": boolean }

A token with ORG_ADMIN or API authority is required to call this API.

Request

Body

required
    entitlementIds string[]required

    Possible values: <= 50

    List of entitlement ids to update

    jsonPatch object[]required
  • Array [
  • op stringrequired

    Possible values: [add, remove, replace, move, copy, test]

    The operation to be performed

    path stringrequired

    A string JSON Pointer representing the target path to an element to be affected by the operation

    value object

    The value to be used for the operation, required for "add" and "replace" operations

    oneOf

    string

  • ]

Responses

No content - indicates the request was successful but there is no content to be returned in the response.

Loading...