# Remove a topic

`DELETE /t/{id}.json`

Authentication: no security requirement declared for this operation.

Parameters:

- `Api-Key` (header, string, required)
  Type: string

- `Api-Username` (header, string, required)
  Type: string

- `id` (path, string, required)
  Type: string

Responses:

- 200: specific posts

## Examples

### cURL

```bash
curl -X DELETE 'https://discourse.example.com/t/string.json' \
  -H 'Api-Key: string' \
  -H 'Api-Username: string'
```

### JavaScript

```javascript
const response = await fetch('https://discourse.example.com/t/string.json', {
  method: 'DELETE',
  headers: {
    'Api-Key': 'string',
    'Api-Username': 'string',
  },
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.delete(
    'https://discourse.example.com/t/string.json',
    headers={
        'Api-Key': 'string',
        'Api-Username': 'string',
    },
)
print(response.text)
```
