Entitlement bundles allow you to grant multiple entitlements simultaneously to your users. Manage entitlement bundles with the following APIs.
See Entitlement Management for more information.
Application Administrator
okta.governance.entitlements.manage
Creates an entitlement bundle
The writable attributes of an entitlement bundle
A successful entitlement bundle creation operation
An invalid request to create an entitlement bundle
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Request body for adding an entitlement bundle with one entitlement, one value
{- "name": "Salesforce admin bundle",
- "description": "A bundle for full administrative access in salesforce",
- "target": {
- "externalId": "0oafxqCAJWWGELFTYASJ",
- "type": "APPLICATION"
}, - "entitlements": [
- {
- "id": "espo3v6xlwdtEX2il1d6",
- "values": [
- {
- "id": "ento3v6xmkviXCltm1d6"
}
]
}
]
}
Entitlement Bundle with one entitlement and one value
{- "id": "enbo3j1lwErh6dn701d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access",
- "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": [
- {
- "id": "espo3v6xlwdtEX2il1d6",
- "values": [
- {
- "id": "ento3v6xmkviXCltm1d6"
}
]
}
], - "_links": {
}
}
Application Administrator
okta.governance.entitlements.read
Lists all or a subset of entitlement-bundles in your organization
after | string <entitlement-bundle-id> = 20 characters The after cursor provided by a prior request. |
filter | string <scim-filter> Apply various filters by using supported entitlement-bundles filtering properties. Note: Query parameter percent encoding is required. See Percent-encoding Query param: ?filter=lastUpdated gt "2022-05-24T14:15:22Z" filter=lastUpdated%20gt%20%222022-05-24T14%3A15%3A22Z%22Query param: ?filter=lastUpdated ge "2022-05-24T14:15:22Z" AND id gt "0bbfxqCAJWWGELFTYBBB" filter=lastUpdated%20ge%20%222022-05-24T14%3A15%3A22Z%22%20AND%20id%20gt%20%220bbfxqCAJWWGELFTYBBB%22Query param: ?filter=lastUpdated gt "2022-05-24T14:15:22Z" OR (lastUpdated ge "2022-05-24T14:15:22Z" AND id gt "0bbfxqCAJWWGELFTYBBB") filter=lastUpdated%20gt%20%222022-05-24T14%3A15%3A22Z%22%20OR%20(lastUpdated%20ge%20%222022-05-24T14%3A15%3A22Z%22%20AND%20id%20gt%20%220bbfxqCAJWWGELFTYBBB%22)Query param: ?filter=target.externalId eq "0oafxqCAJWWGELFTYASJ" AND target.type eq "APPLICATION" filter=target.externalId%20eq%20%220oafxqCAJWWGELFTYASJ%22%20AND%20target.type%20eq%20%22APPLICATION%22Query param: ?filter=targetResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ" filter=targetResourceOrn%20eq%20%22orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ%22Query param: ?filter=status eq "ACTIVE" filter=status%20eq%20%22ACTIVE%22Query param: ?filter=name sw "sales" filter=name%20sw%20%22sales%22 |
include | Array of strings The Query param: ?include=full_entitlements include=full_entitlements |
limit | integer [ 1 .. 200 ] Default: 20 The maximum number of records that will be returned in a given result. |
orderBy | string <order-by> Apply an ordering of entitlement-bundles by specifying a supported entitlement bundle property name with Note: Query parameter percent encoding is required. See Percent-encoding Query param: ?orderBy=created desc orderBy=created%20descQuery param: ?orderBy=lastUpdated desc orderBy=lastUpdated%20descQuery param: ?orderBy=lastUpdated asc,id asc orderBy=lastUpdated%20asc%2Cid%20asc |
A successful entitlement bundle list response
An invalid request to list entitlement-bundles
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
A list of entitlement bundle with no filter
{- "data": [
- {
- "id": "enbogpaj3XUzcM62u1d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access",
- "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"
}, - "_links": {
}
}
], - "_links": {
}, - "metadata": {
- "total": 10
}
}
Application Administrator
okta.governance.entitlements.read
Retrieves the full representation of a entitlement bundle
A successful entitlement bundle get response
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Entitlement Bundle with one entitlement and one value
{- "id": "enbo3j1lwErh6dn701d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access",
- "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": [
- {
- "id": "espo3v6xlwdtEX2il1d6",
- "values": [
- {
- "id": "ento3v6xmkviXCltm1d6"
}
]
}
], - "_links": {
}
}
Application Administrator
okta.governance.entitlements.manage
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
required | object Links available on a single entitlement bundle representation |
id required | string non-empty Unique identifier for the object |
name required | string [ 1 .. 255 ] characters The unique name of the entitlement bundle. This value can't be modified. |
status required | string An entitlement bundle has a status lifecycle described in our entitlement bundle lifecycle documentation. An entitlement bundle has a status of When the bundle is deleted, it transitions to a status of At some point in the future, the bundle will be purged entirely. At that point in time, the bundle will no longer be included in list operations, and get operations return a 404. |
required | object Representation of a resource |
targetResourceOrn required | string <okta-resource-orn> The Okta App instance See the supported-resources endpoint for reference |
description | string [ 1 .. 1000 ] characters The human readable description |
Array of objects Collection of entitlements and associated value identifiers |
A successful entitlement bundle update response
An invalid request to create an entitlement bundle
When authentication fails
When authorization fails
When the requested resource was not found
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
Entitlement bundle with multiple entitlements values
{- "id": "enbogpaj3XUzcM62u1d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access",
- "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": [
- {
- "id": "espo3v6xlwdtEX2il1d6",
- "values": [
- {
- "id": "ento3v6xmkviXCltm1d6"
}, - {
- "id": "ento3ioilCWXR316t1d6"
}
]
}
], - "_links": {
}
}
Entitlement Bundle with one entitlement and one value
{- "id": "enbo3j1lwErh6dn701d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access",
- "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": [
- {
- "id": "espo3v6xlwdtEX2il1d6",
- "values": [
- {
- "id": "ento3v6xmkviXCltm1d6"
}
]
}
], - "_links": {
}
}
Application Administrator
okta.governance.entitlements.manage
Deletes a entitlement bundle
A successful entitlement bundle delete response
When authentication fails
When authorization fails
When the requested resource was not found
An invalid request due to status conflict when deleting a entitlement bundle
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
{- "errorCode": "E0000004",
- "errorSummary": "Authentication failed.",
- "errorLink": "E0000004",
- "errorId": "oaeWCGz73hpRCG75VHP6-RRXw",
- "errorCauses": [ ]
}