The Agent Pools API provides operation to manage the update settings of the agents for your organization.
okta.agentPools.read
Lists all agent pools with pagination support
limitPerPoolType | integer Default: 5 Maximum number of AgentPools being returned |
poolType | string (AgentType) Agent type to search for |
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 |
OK
Forbidden
Too Many Requests
[- {
- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- null
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "id": "string",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "type": "AD"
}
]
okta.agentPools.read
Lists all agent pool updates
OK
Forbidden
Not Found
Too Many Requests
[- {
- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- null
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
]
okta.agentPools.manage
Creates an Agent pool update \n For user flow 2 manual update, starts the update immediately. \n For user flow 3, schedules the update based on the configured update window and delay.
Created
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string"
}
], - "agentType": "AD",
- "enabled": true,
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string"
}
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.read
Retrieves the current state of the agent pool update instance settings
OK
Forbidden
Not Found
Too Many Requests
{- "agentType": "AD",
- "continueOnError": true,
- "latestVersion": "string",
- "minimalSupportedVersion": "string",
- "poolId": "string",
- "poolName": "string",
- "releaseChannel": "BETA"
}
okta.agentPools.manage
Updates an agent pool update settings
agentType | string (AgentType) Agent types that are being monitored |
continueOnError | boolean |
latestVersion | string |
minimalSupportedVersion | string |
poolName | string |
releaseChannel | string (ReleaseChannel) Release channel for auto-update |
Updated
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agentType": "AD",
- "continueOnError": true,
- "latestVersion": "string",
- "minimalSupportedVersion": "string",
- "poolName": "string",
- "releaseChannel": "BETA"
}
{- "agentType": "AD",
- "continueOnError": true,
- "latestVersion": "string",
- "minimalSupportedVersion": "string",
- "poolId": "string",
- "poolName": "string",
- "releaseChannel": "BETA"
}
okta.agentPools.read
Retrieves Agent pool update from updateId
OK
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Updates Agent pool update and return latest agent pool update
Array of objects (Agent) | |||||||||||||||||||||
Array
| |||||||||||||||||||||
agentType | string (AgentType) Agent types that are being monitored | ||||||||||||||||||||
enabled | boolean | ||||||||||||||||||||
name | string | ||||||||||||||||||||
notifyAdmin | boolean | ||||||||||||||||||||
reason | string | ||||||||||||||||||||
object (AutoUpdateSchedule) The schedule of auto-update configured by admin. | |||||||||||||||||||||
sortOrder | integer | ||||||||||||||||||||
status | string (AgentUpdateJobStatus) Overall state for the auto-update job from admin perspective | ||||||||||||||||||||
targetVersion | string |
Updated
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string"
}
], - "agentType": "AD",
- "enabled": true,
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string"
}
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Deletes Agent pool update
Deleted
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.agentPools.manage
Activates scheduled Agent pool update
Activated
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Deactivates scheduled Agent pool update
Deactivated
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Pauses running or queued Agent pool update
Paused
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Resumes running or queued Agent pool update
Resumed
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Retries Agent pool update
Retried
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
okta.agentPools.manage
Stops Agent pool update
Stopped
Forbidden
Not Found
Too Many Requests
{- "agents": [
- {
- "id": "string",
- "isHidden": true,
- "isLatestGAedVersion": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "name": "string",
- "operationalStatus": "DEGRADED",
- "poolId": "string",
- "type": "AD",
- "updateMessage": "string",
- "updateStatus": "Cancelled",
- "version": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
], - "agentType": "AD",
- "enabled": true,
- "id": "string",
- "name": "string",
- "notifyAdmin": true,
- "reason": "string",
- "schedule": {
- "cron": "string",
- "delay": 0,
- "duration": 0,
- "lastUpdated": "2019-08-24T14:15:22Z",
- "timezone": "string"
}, - "sortOrder": 0,
- "status": "Cancelled",
- "targetVersion": "string",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}