Managed AgentsVersion: v3New
Unpublish a Managed Agent
POST/agent-studio/managed-agents/{managedAgentId}/unpublish
Unpublishes the agent, exactly as the app does: its triggers stop and scheduled runs are cancelled. The draft is kept and can be published again.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
managed-agents. buildAndPublishAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API version.
Available options
v3Example:
v3Idempotency-Keystringrequired
Unique key for this request. Resending it with the same request returns the original result.
Possible values: non-empty and <= 128 characters
Example:
build-7f3cf4c0-39eb-46be-baa3-a1eb15021f25Path Parameters
managedAgentIdstringrequired
Managed Agent ID.
Example:
027ee957-ae94-40ad-89a3-b25c985f729bBody
locationIdstringrequired
Location (sub-account) the agent belongs to
Example:
ve9EPM428h8vShlRW1KTResponse
Unpublished
managedAgentIdstringrequired
Managed Agent ID
Example:
027ee957-ae94-40ad-89a3-b25c985f729blocationIdstringrequired
Location (sub-account) that owns the agent
Example:
ve9EPM428h8vShlRW1KTisPublishedbooleanrequired
Always false after a successful unpublish
Example:
false