Box Developer Documentation
Latest version

Delete AI agent

delete
https://api.box.com/2.0
/ai_agents/:agent_id

This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

Deletes an AI agent using the provided parameters.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
1234

The ID of the agent to delete.

Response

none

A successful response with no content.

application/jsonClient error

An unexpected client error.

application/jsonClient error

Returned if the AI agent is not found.

application/jsonClient error

An unexpected server error.

delete
Delete AI agent
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

TypeScript Gen
await client.aiStudio.deleteAiAgentById(createdAgent.id);
Python Gen
client.ai_studio.delete_ai_agent_by_id(created_agent.id)
.NET Gen
await client.AiStudio.DeleteAiAgentByIdAsync(agentId: createdAgent.Id);
Swift Gen (Beta)
try await client.aiStudio.deleteAiAgentById(agentId: createdAgent.id)
Java Gen (Beta)
client.getAiStudio().deleteAiAgentById(createdAgent.getId())