role_assignment_governance_grant
Creates, updates, deletes, gets or lists a role_assignment_governance_grant resource.
Overview
| Name | role_assignment_governance_grant |
| Type | Resource |
| Id | okta.users.role_assignment_governance_grant |
Fields
The following fields are returned by SELECT queries:
- get_role_assignment_governance_grant
| Name | Datatype | Description |
|---|---|---|
_links | object | Specifies link relations (see Web Linking) available for the resources using the JSON Hypertext Application Language specification. |
bundleId | string | id of the entitlement bundle |
expirationDate | string (date-time) | The expiration date of the entitlement bundle |
grantId | string | id of the grant |
type | string | The grant type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_role_assignment_governance_grant | select | subdomain | Retrieves a governance source (identified by grantId) for a role (identified by roleAssignmentId) that's assigned to a user (identified by userId) |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
subdomain | string | The domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org) |
SELECT examples
- get_role_assignment_governance_grant
Retrieves a governance source (identified by grantId) for a role (identified by roleAssignmentId) that's assigned to a user (identified by userId)
SELECT
_links,
bundleId,
expirationDate,
grantId,
type
FROM okta.users.role_assignment_governance_grant
WHERE subdomain = '{{ subdomain }}' -- required
;