Flow AgentsVersion: v3
Delete Agent
DEL/agent-studio/agent/{agentId}
Deletes an agent and all its versions.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
agent-studio. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
agentIdstringrequired
Agent ID to delete (removes the agent and all its versions)
Example:
p1q2r3s4t5u6v7w8x9y0z1a2Query Parameters
locationIdstringrequired
Location (sub-account) ID that owns the agent
Example:
C2QujeCh8ZnC7al2InWRsourcestring
Origin channel attributed to this write for auditing (e.g. public_api, internal)
Example:
apiResponse
Agent deleted successfully
successbooleanrequired
Success status
Example:
truemessagestringrequired
Response message
Example:
Agent deleted successfullyagentIdstring
Deleted agent ID
Example:
p1q2r3s4t5u6v7w8x9y0z1a2