Skip to content

Activate an AI agent

Request

Beta
OAuth 2.0 scope:
  • okta.aiAgents.manage
Admin roles:
  • SUPER_ADMIN

Activates a registered AI agent in Okta. An AI agent must be activated before it can use its associated credentials to access resources.

Path
agentIdstringrequired

ID of the AI agent in Okta

Example:wlpcFogtKCrK9aYq3fgV
curl -i -X POST \
  https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV/lifecycle/activate

Responses

Accepted

Headers
Locationstring, (uri)required

URL to poll for operation status. See AI Agent Operations.

Example:"https://subdomain.okta.com/workload-principals/api/v1/operations/op-1a2b3c4d"
Response
No content