Skip to main content

role_assignment_governance_grant

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

Overview

Namerole_assignment_governance_grant
TypeResource
Idokta.users.role_assignment_governance_grant

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available for the resources using the JSON Hypertext Application Language specification.
bundleIdstringid of the entitlement bundle
expirationDatestring (date-time)The expiration date of the entitlement bundle
grantIdstringid of the grant
typestringThe grant type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_role_assignment_governance_grantselectsubdomainRetrieves 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
subdomainstringThe 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

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;