realm_assignment_operations
Creates, updates, deletes, gets or lists a realm_assignment_operations
resource.
Overview
Name | realm_assignment_operations |
Type | Resource |
Id | okta.realm_assignments.realm_assignment_operations |
Fields
The following fields are returned by SELECT
queries:
- list_realm_assignment_operations
Name | Datatype | Description |
---|---|---|
id | string | ID of the realm |
_links | object | Specifies 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. |
assignmentOperation | object | Definition of the realm assignment operation |
completed | string (date-time) | Timestamp when the realm assignment operation completed |
created | string (date-time) | Timestamp when the realm assignment operation was created |
numUserMoved | number | Number of users moved |
realmId | string | ID of the realm |
realmName | string | Name of the realm |
started | string (date-time) | Timestamp when the realm assignment operation started |
status | string | Current status of the operation |
type | string | Realm type |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_realm_assignment_operations | select | subdomain | limit , after | Lists 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.
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) |
after | string | The 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. |
limit | integer | A limit on the number of objects to return |
SELECT
examples
- list_realm_assignment_operations
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 }}';