Box Developer Documentation

Delete AI agent

Delete AI agent

The DELETE /2.0/ai_agents/{id} endpoint allows you to delete a custom AI agent based on its ID.

Send a request

To send a request, use the DELETE /2.0/ai_agents/{id} endpoint.

cURL
curl -L DELETE "https://api.box.com/2.0/ai_agents/12345" \
      -H 'Authorization: Bearer <ACCESS_TOKEN>'

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