user_assigned_role_governance
Creates, updates, deletes, gets or lists a user_assigned_role_governance
resource.
Overview
Name | user_assigned_role_governance |
Type | Resource |
Id | okta.users.user_assigned_role_governance |
Fields
The following fields are returned by SELECT
queries:
- get_user_assigned_role_governance
Name | Datatype | Description |
---|---|---|
_links | object | Specifies link relations (see Web Linking) available for the sources using the JSON Hypertext Application Language specification. |
grants | array |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_user_assigned_role_governance | select | subdomain | Retrieves 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.
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_user_assigned_role_governance
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;