Skip to main content

role_assignment_governance_grant_resources

Creates, updates, deletes, gets or lists a role_assignment_governance_grant_resources resource.

Overview​

Namerole_assignment_governance_grant_resources
TypeResource
Idokta.users.role_assignment_governance_grant_resources

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies 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.
resourcesarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_role_assignment_governance_grant_resourcesselectuserId, roleAssignmentId, grantId, subdomainRetrieves 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.

NameDatatypeDescription
grantIdstringGrant ID
roleAssignmentIdstringThe id of the role assignment
subdomainstring(default: my-org)
userIdstringID of an existing Okta user

SELECT examples​

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 userId = '{{ userId }}' -- required
AND roleAssignmentId = '{{ roleAssignmentId }}' -- required
AND grantId = '{{ grantId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;