Skip to main content

role_resource_set_binding_members

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

Overview

Namerole_resource_set_binding_members
TypeResource
Idokta.iam.role_resource_set_binding_members

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.
membersarrayThe members of the role resource set binding. If there are more than 100 members for the binding, then the _links.next resource is returned with the next list of members.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_members_of_bindingselectsubdomainafterLists all members of a role resource set binding with pagination support
get_member_of_bindingselectsubdomainRetrieves a member (identified by memberId) that belongs to a role resource set binding
add_members_to_bindingupdatesubdomainAdds more members to a role resource set binding
unassign_member_from_bindingdeletesubdomainUnassigns a member (identified by memberId) from a role resource set binding

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)
afterstringThe cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination.

SELECT examples

Lists all members of a role resource set binding with pagination support

SELECT
_links,
members
FROM okta.iam.role_resource_set_binding_members
WHERE subdomain = '{{ subdomain }}' -- required
AND after = '{{ after }}'
;

UPDATE examples

Adds more members to a role resource set binding

UPDATE okta.iam.role_resource_set_binding_members
SET
data__additions = '{{ additions }}'
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
_links
;

DELETE examples

Unassigns a member (identified by memberId) from a role resource set binding

DELETE FROM okta.iam.role_resource_set_binding_members
WHERE subdomain = '{{ subdomain }}' --required
;