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 asynchronous operation
_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 of when the operation completed
createdstring (date-time)Timestamp of when the operation was created
numUserMovednumberNumber of users moved
realmIdstringID of the realm
realmNamestringName of the realm
startedstring (date-time)Timestamp of when the operation started
statusstringThe status of the asynchronous operation (COMPLETED, SCHEDULED, IN_PROGRESS, FAILED)
typestringThe operation 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
subdomainstring(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 and Link header.
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 }}'
;