Updates an AI agent. Use this request to perform partial updates on an AI agent's profile properties. Send only the fields to update. Use null to remove a value.
Warning: If the agent is bound to an OAuth2 app instance and you switch its auth method to CIMD by providing
oauthClient, the bound OAuth2 app is converted to a CIMD OAuth2 app. Any OAuth2 configuration previously saved in Okta for that app (such as grant types, redirect URIs, and client credentials) is replaced by the CIMD document. This action is destructive and can't be undone.
The resource URL for the agent-to-agent (A2A) server that is associated with this AI agent. When provided, an A2A resource server is automatically created for this agent. This field can only be set once, and only for agents that don't already have an associated A2A server.
Registers the AI agent as a CIMD OAuth client, using a hosted metadata URL as the client identity. When provided, Okta creates a CIMD client entity and binding instead of an Okta-hosted client app. You can combine it with signOnProvider: { type: EXISTING_APP, appInstanceId: "..." } to bind the CIMD agent to an existing OIDC app instance. When combined with EXISTING_APP, omit clientIdMatchPattern. The agent adopts the existing app's CIMD identity.
The ID of the connected app for the AI agent. Deprecated. Use the Delegation Links API instead.
- https://subdomain.okta.comhttps://subdomain.okta.com/workload-principals/api/v1/ai-agents/{agentId}
curl -i -X PATCH \
https://subdomain.okta.com/workload-principals/api/v1/ai-agents/wlpcFogtKCrK9aYq3fgV \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"appId": "0oab1234EXAMPLEID5d6",
"profile": {
"name": "Updated name",
"description": "Updated description"
}
}'Accepted
URL to poll for operation status. See AI Agent Operations.
No content