## Delete container tag

### JavaScript

```javascript
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.supermemory.ai/v3/container-tags/{containerTag}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

### Response Codes

- **200**
- **401**
- **403**
- **404**
- **500**

### Response Structure

```json
{
  "success": true,
  "containerTag": "<string>",
  "deletedDocumentsCount": 123,
  "deletedMemoriesCount": 123
}
```

## Documentation Index

Fetch the complete documentation index at: [https://supermemory.ai/docs/llms.txt](/content/docs/llms.txt)

Use this file to discover all available pages before exploring further.

### Authorizations

#### Authorization

- **Type**: string
- **Location**: header
- **Required**: Yes
  
Bearer authentication header of the form `Bearer <token>`, where `<token>` is your auth token.

### Path Parameters

#### containerTag

- **Type**: string
- **Required**: Yes

### Response Details

#### 200

- **Content Type**: application/json
- **Description**: Container tag deleted successfully.

- **Response Structure**:
  - **success**: boolean (required) - Whether the deletion was successful.
  - **containerTag**: string (required) - The deleted container tag.
  - **deletedDocumentsCount**: number (required) - Number of documents deleted.
  - **deletedMemoriesCount**: number (required) - Number of memories marked as forgotten.
