Skip to main content

user_blocks

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

Overview

Nameuser_blocks
TypeResource
Idokta.users.user_blocks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
appliesTostringThe devices that the block applies to
typestringType of access block

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_user_blocksselectsubdomainLists 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.

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

Lists information about how the user is blocked from accessing their account

SELECT
appliesTo,
type
FROM okta.users.user_blocks
WHERE subdomain = '{{ subdomain }}' -- required;