A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
Deletes an AI agent using the provided parameters.
1234The ID of the agent to delete.
A successful response with no content.
An unexpected client error.
Returned if the AI agent is not found.
An unexpected server error.
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())