Retrieves the full detail of a specific grant
The include parameter adds additional properties to the response.
| Items Enum Value | Description |
|---|---|
| full_entitlements | Include complete entitlements in the response |
| metadata | Include metadata such as collection generating the grant in the response |
curl -i -X GET \
'https://okta-subdomain.pixtulate.com/governance/api/v1/grants/{grantId}?include=full_entitlements'Get grant
Grant response
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
Type of grant. Reconciliation creates an IMPORT grant to record an entitlement that the app reported, but that Okta wasn't already governing.
The entitlement bundle id
The Okta user in ORN format
The action to be taken for a grant
The flow that triggered the grant request
| Enum Value | Description |
|---|---|
| API | The grant request was triggered from the API. |
| ACCESS_REQUEST | The grant request was triggered from an access request. |
| NONE | The grant request wasn't triggered from the API, an access request, or the Admin Console. |
| ADMIN | The grant request was triggered from the Admin Console. |
The Okta resource in ORN format
See the ORN format for supported resources.
Collection of entitlements and associated value identifiers
Scheduler specific settings applicable to a grant.
The state of the particular grant setting
- Grant
- Grant with entitlements
- Grant a bundle to a principal
- Grant a bundle to a principal, with expiration
- Grant a resource with policy |tooltip| Grant a resource with policy
- Custom Grant with entitlements |tooltip| Grant a resource with custom entitlements
- Custom Grant a resource with full entitlements loaded |tooltip| Grant a resource with custom entitlements
- Custom Grant with metadata |tooltip| Grant for a resource with custom entitlements and grant metadata
{ "id": "0ggb0oNGTSWTBKOLGLNR", "created": "2022-05-24T14:15:22Z", "createdBy": "00ub0oNGTSWTBKOLGLNR", "lastUpdated": "2022-05-24T14:15:22Z", "lastUpdatedBy": "00ub0oNGTSWTBKOLGLNR", "grantType": "ENTITLEMENT-BUNDLE", "entitlementBundleId": "enbfxqCAJWWGELFTYCCC", "action": "ALLOW", "actor": "ACCESS_REQUEST", "targetResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ", "target": { "externalId": "0oafxqCAJWWGELFTYASJ", "type": "APPLICATION" }, "targetPrincipalOrn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00ub0oNGTSWTBKOLGLNR", "targetPrincipal": { "externalId": "00ub0oNGTSWTBKOLGLNR", "type": "OKTA_USER" }, "status": "ACTIVE", "_links": { "entitlementBundle": { … }, "self": { … } } }