role_assignment_governance_grant_resources
Creates, updates, deletes, gets or lists a role_assignment_governance_grant_resources resource.
Overview
| Name | role_assignment_governance_grant_resources |
| Type | Resource |
| Id | okta.users.role_assignment_governance_grant_resources |
Fields
The following fields are returned by SELECT queries:
- get_role_assignment_governance_grant_resources
| Name | Datatype | Description |
|---|---|---|
_links | object | Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations. |
resources | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_role_assignment_governance_grant_resources | select | subdomain | Retrieves the resources of 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_resources
Retrieves the resources of a governance source (identified by grantId) for a role (identified by roleAssignmentId) that's assigned to a user (identified by userId)
SELECT
_links,
resources
FROM okta.users.role_assignment_governance_grant_resources
WHERE subdomain = '{{ subdomain }}' -- required
;