Agent

Delete Archived Computer

Permanently delete an archived explicit computer and its files and code runs.

Call Create computer first and replace cmp_123 with its returned ID.

DELETE /agent/v1/computers/{computer_id}● Supported

Request parameters

  • computer_idstring必填

    path: Computer id (cmp_...), as returned by computers.create or computers.list.

Returns

200

Own-face superset: Managed Agents has no persistent Computer deletion lifecycle. Only archived computers can be deleted. Active computers return 400 COMPUTER_ACTIVE (archive first). Destroy storage before removing registration. Success returns id and type=computer_deleted; missing or foreign computers return 404.

Errors follow the Anthropic error format (type / message / request_id) — see error codes

Response

HTTP 200

Computer result

application/json

NameTypeDescription
idstringId of the deleted computer.
typestringAlways `computer_deleted`. Confirms that a computer was deleted.