- Replace an entitlement bundle
- okta.governance.entitlements.manage
- APP_ADMIN
Replaces an entitlement bundle's name, description or entitlements.
Entitlement updates will be applied to existing grants referencing this bundle and may change principal entitlements.
The writable attributes of an entitlement bundle
The unique name of the entitlement bundle
The human-readable description
The Okta resource in ORN format
See the ORN format for supported resources.
The lifecycle status of an entitlement bundle:
- An entitlement bundle has a status of
ACTIVEafter creation. - When the bundle is deleted, it transitions to a status of
DELETED.
When the entitlement bundle is purged, it isn't returned in a GET operation.
- https://subdomain-okta.login.adsbillinghub.comhttps://subdomain-okta.login.adsbillinghub.com/governance/api/v1/entitlement-bundles/{entitlementBundleId}
Entitlement bundle with multiple entitlements values
curl -i -X PUT \
'https://subdomain-okta.login.adsbillinghub.com/governance/api/v1/entitlement-bundles/{entitlementBundleId}' \
-H 'Content-Type: application/json' \
-d '{
"id": "enbogpaj3XUzcM62u1d6",
"name": "Github admin bundle",
"description": "Github bundle for administrative access",
"orn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6",
"status": "ACTIVE",
"targetResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ",
"target": {
"externalId": "0oafxqCAJWWGELFTYASJ",
"type": "APPLICATION"
},
"entitlements": [
{
"id": "espo3v6xlwdtEX2il1d6",
"values": [
{
"id": "ento3v6xmkviXCltm1d6"
},
{
"id": "ento3ioilCWXR316t1d6"
}
]
}
]
}'A successful entitlement bundle update response
The unique name of the entitlement bundle
The human-readable description
The id of the Okta user who created the resource
The ISO 8601 formatted date and time when the resource was created
The ISO 8601 formatted date and time when the object was last updated
The id of the Okta user who last updated the object
The id of the bundle in ORN format.
The Okta resource in ORN format
See the ORN format for supported resources.
The lifecycle status of an entitlement bundle:
- An entitlement bundle has a status of
ACTIVEafter creation. - When the bundle is deleted, it transitions to a status of
DELETED.
When the entitlement bundle is purged, it isn't returned in a GET operation.
Entitlement Bundle with one entitlement and one value
{ "id": "enbo3j1lwErh6dn701d6", "name": "Github admin bundle", "description": "Github bundle for administrative access", "orn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbo3j1lwErh6dn701d6", "created": "2022-05-24T14:15:22Z", "createdBy": "00ub0oNGTSWTBKOLGLNR", "lastUpdated": "2022-05-24T14:15:22Z", "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR", "status": "ACTIVE", "targetResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:github:0oafxqCAJWWGELFTYASJ", "target": { "externalId": "0oafxqCAJWWGELFTYASJ", "type": "APPLICATION" }, "entitlements": [ { … } ], "_links": { "self": { … } } }