Skip to main content

realm_assignment_operations

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

Overview

Namerealm_assignment_operations
TypeResource
Idokta.realm_assignments.realm_assignment_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the realm
_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.
assignmentOperationobjectDefinition of the realm assignment operation
completedstring (date-time)Timestamp when the realm assignment operation completed
createdstring (date-time)Timestamp when the realm assignment operation was created
numUserMovednumberNumber of users moved
realmIdstringID of the realm
realmNamestringName of the realm
startedstring (date-time)Timestamp when the realm assignment operation started
statusstringCurrent status of the operation
typestringRealm type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_realm_assignment_operationsselectsubdomainlimit, afterLists all realm assignment operations. The upper limit is 200 and operations are sorted in descending order from most recent to oldest by ID.

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.
limitintegerA limit on the number of objects to return

SELECT examples

Lists all realm assignment operations. The upper limit is 200 and operations are sorted in descending order from most recent to oldest by ID.

SELECT
id,
_links,
assignmentOperation,
completed,
created,
numUserMoved,
realmId,
realmName,
started,
status,
type
FROM okta.realm_assignments.realm_assignment_operations
WHERE subdomain = '{{ subdomain }}' -- required
AND limit = '{{ limit }}'
AND after = '{{ after }}';