user_blocks
Creates, updates, deletes, gets or lists a user_blocks
resource.
Overview
Name | user_blocks |
Type | Resource |
Id | okta.users.user_blocks |
Fields
The following fields are returned by SELECT
queries:
- list_user_blocks
Name | Datatype | Description |
---|---|---|
appliesTo | string | The devices that the block applies to |
type | string | Type of access block |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_user_blocks | select | subdomain | Lists information about how the user is blocked from accessing their account |
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
- list_user_blocks
Lists information about how the user is blocked from accessing their account
SELECT
appliesTo,
type
FROM okta.users.user_blocks
WHERE subdomain = '{{ subdomain }}' -- required;