DELETE
/
v0
/
agents
/
{id}
Delete an agent
curl --request DELETE \
  --url https://api.cursor.com/v0/agents/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "bc_abc123"
}

Authorizations

Authorization
string
header
required

API key from Cursor Dashboard

Path Parameters

id
string
required

Unique identifier for the background agent

Example:

"bc_abc123"

Response

200
application/json

Agent deleted successfully

The response is of type object.