Skip to main content
Box AI Studio is available only for Enterprise Advanced accounts.
The DELETE /2.0/ai_agents/{id} endpoint permanently removes a custom AI agent. This action cannot be undone.

Before you start

Make sure you have completed the steps in to create a platform app and generate a developer token.

Send a request

curl -L DELETE "https://api.box.com/2.0/ai_agents/12345" \
      -H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.aiStudio.deleteAiAgentById(createdAgent.id);
client.ai_studio.delete_ai_agent_by_id(created_agent.id)
await client.AiStudio.DeleteAiAgentByIdAsync(agentId: createdAgent.Id);
try await client.aiStudio.deleteAiAgentById(agentId: createdAgent.id)
client.getAiStudio().deleteAiAgentById(createdAgent.getId())

Parameters

To make a call, you must pass the following parameters. Mandatory parameters are in bold.
ParameterDescriptionExample
agent_idThe ID of the agent to delete.1234
Last modified on April 27, 2026