---
title: "Delete an operator attachment"
description: "Deletes an attachment no message uses yet. Callers: the account owner with a user API key, user access token, claimed agent access token, or MCP token; organization API keys are refused."
canonical: "https://www.cool.computer/docs/api-reference/operator/delete-an-operator-attachment"
---
# Delete an operator attachment

> Deletes an attachment no message uses yet. Callers: the account owner with a user API key, user access token, claimed agent access token, or MCP token; organization API keys are refused.

```http
DELETE https://api.cool.computer/api/operator/attachments/{id}
```

Deletes an attachment no message uses yet. Callers: the account owner with a user API key, user access token, claimed agent access token, or MCP token; organization API keys are refused.

## Authorization

- A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

## Parameters

- `id` (path, string, at least 1 characters, required): Operator attachment identifier.

## Responses

- `204`: The attachment was deleted.
- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.
- `429`: Too Many Requests. If the problem code is api_request_rate_exceeded, wait for Retry-After seconds; other problem codes describe a separate limit.
- `500`: Internal Server Error.
- `default`: A machine-readable API error with a stable code and recovery instruction.

An error is an `application/problem+json` document with a stable `code`; [API errors](/docs/api-reference/errors) says how to handle one.

## Example

```sh
curl -X DELETE "https://api.cool.computer/api/operator/attachments/$PARAM_ID" \
  -H "authorization: Bearer $TOKEN"
```
