English
cURL
curl --request DELETE \ --url https://api.cursor.com/v0/agents/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "bc_abc123" }
Permanently delete a background agent and its associated resources.
API key from Cursor Dashboard
Unique identifier for the background agent
"bc_abc123"
Agent deleted successfully
The response is of type object.
object
Was this page helpful?