Patch Entitlement
DescriptionUpdate an existing entitlement record by adding and/or removing users and/or user groups
Request
URLURL
Path Parameters
Path Parameters
id
Query Parameters
Query Parameters
org_id
Request Body
{
"groupIdsToAdd": [
"group-id-3",
"group-id-4"
],
"groupIdsToRemove": [
"group-id-1",
"group-id-2"
],
"poolIdsToAdd": [
"group-id-1",
"group-id-2"
],
"poolIdsToRemove": [
"group-id-1",
"group-id-2"
],
"resourceDetailsToAdd": [
"group-id-1",
"group-id-2"
],
"resourceDetailsToRemove": [
"group-id-1",
"group-id-2"
],
"userIdsToAdd": [
"user-id-3",
"user-id-4"
],
"userIdsToRemove": [
"user-id-1",
"user-id-2"
]
}
List of user groups to be added to entitlement
List of groups to be removed from the entitlement
List of poolIds to be added to the entitlement
List of poolIds to be removed from the entitlement
List of apps to be removed from the entitlement
List of users to be added to the entitlement
List of users to be removed from the entitlement
Authentication
Response
Response BodyResponse Body
200 OK
Entitlement patched
{
"description": "Entitlement description",
"groupIds": [
"group-id-1",
"group-id-2"
],
"id": "ent-id-12345",
"location": "US",
"name": "dev's entitlement",
"orgId": "0123456789",
"userIds": [
"user-id-1",
"user-id-2"
]
}
List of PoolIds
Time when the entitlement was created
Entitlement ID
Location that is mapped with Org Id
Entitlement name
Org ID that owns this entitlement
Entitlement description
List of entitled user groups - requires group ID returned from IAM
Time when the entitlement was updated
List of entitled users - requires user ID returned from IAM
Errors
Bad Request
Unauthorized
Forbidden
Not found
Precondition Failed
Code Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: patchEntitlementReq