Delete Legacy Browser-Use Agent
DELETE/agents/browser-use/:id
Permanently delete a standalone browser profile and its browser tasks. A profile backing a persistent agent returns 409 (browser_profile_in_use); use DELETE /agents/{id}/ to archive that agent instead. Archived and inaccessible profiles return 404. Requires agents:manage.
Request
Responses
- 204
- 400
- 403
- 404
- 409
- 500
No response body
Response Headers
Server-generated synchronous HTTP correlation; no worker lineage implied.
Invalid request body or query parameters. Field errors may be returned as arrays.
Response Headers
Server-generated synchronous HTTP correlation; no worker lineage implied.
Missing/invalid API key, insufficient scope, account eligibility, or communication policy denial.
Response Headers
Server-generated synchronous HTTP correlation; no worker lineage implied.
Resource not found or not accessible to this API key.
Response Headers
Server-generated synchronous HTTP correlation; no worker lineage implied.
Response Headers
Server-generated synchronous HTTP correlation; no worker lineage implied.
Unexpected failure; JSON includes detail and an error_id for support.
Response Headers
Server-generated synchronous HTTP correlation; no worker lineage implied.