Okta Admin Management API
/Realms
//
List all realm assignment...
OAuth 2.0 scope:
- okta.realmAssignments.read
Lists all realm assignment operations. The upper limit is 200 and operations are sorted in descending order from most recent to oldest by ID.
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 and Link header.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/realm-assignments/operations
curl -i -X GET \
'https://subdomain.okta.com/api/v1/realm-assignments/operations?limit=20&after=string'OK
Array []
The status of the asynchronous operation
Enum:"COMPLETED""SCHEDULED""IN_PROGRESS""FAILED"
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.
Response
[ { "id": "rre4mje4ez6B2a7B60g7", "type": "realm:assignment", "status": "COMPLETED", "created": "2023-10-25T21:02:54.000Z", "started": "2023-10-25T21:02:54.000Z", "completed": "2023-10-25T21:02:54.000Z", "realmId": "00g1b7rvh0xPLKXFf0g5", "realmName": "Realm Name", "assignmentOperation": { … }, "numUserMoved": 50, "_links": { … } }, { "id": "rre4mje4ez7B2a7B60g7", "type": "realm:assignment", "status": "COMPLETED", "created": "2023-10-25T21:02:54.000Z", "started": "2023-10-25T21:02:54.000Z", "completed": "2023-10-25T21:02:54.000Z", "assignmentOperation": { … }, "numUserMoved": 50, "_links": { … } } ]