Skip to main content

user_assigned_role_governance

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

Overview

Nameuser_assigned_role_governance
TypeResource
Idokta.users.user_assigned_role_governance

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available for the sources using the JSON Hypertext Application Language specification.
grantsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_assigned_role_governanceselectsubdomainRetrieves the governance sources of 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 the governance sources of a role (identified by roleAssignmentId) that's assigned to a user (identified by userId)

SELECT
_links,
grants
FROM okta.users.user_assigned_role_governance
WHERE subdomain = '{{ subdomain }}' -- required;