The Entitlement Bundles API allows you to manage entitlement bundles. Entitlement bundles allow you to grant multiple entitlements simultaneously to your users. See Entitlement Management in the product documentation.
Note: An app must have entitlement management enabled before it can be used as an entitlement resource. See Enable Entitlement management in the product documentation.
- okta.governance.entitlements.manage
- APP_ADMIN
Creates an entitlement bundle
The writable attributes of an entitlement bundle
The unique name of the entitlement bundle
The human-readable description
- One entitlement, one value |tooltip| Request body for adding an entitlement bundle with one entitlement, one value
- One entitlement, two entitlement values |tooltip| Request body for adding an entitlement bundle with many entitlements
curl -i -X POST \
https://okta-subdomain.pixtulate.com/governance/api/v1/entitlement-bundles \
-H 'Content-Type: application/json' \
-d '{
"name": "Salesforce admin bundle",
"description": "A bundle for full administrative access in salesforce",
"target": {
"externalId": "0oafxqCAJWWGELFTYASJ",
"type": "APPLICATION"
},
"entitlements": [
{
"id": "espo3v6xlwdtEX2il1d6",
"values": [
{
"id": "ento3v6xmkviXCltm1d6"
}
]
}
]
}'A successful entitlement bundle creation operation
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 single entitlement |tooltip| Entitlement Bundle with one entitlement and one value
- Entitlement Bundle with multiple entitlement values |tooltip| Entitlement bundle with many entitlements
{ "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": { … } } }