Delete Thread
Moves the thread to trash by adding a trash label to all messages. If the thread is already in trash, it will be permanently deleted. Use `permanent=true` to force permanent deletion.
**CLI:**
```bash
agentmail pods:threads delete --pod-id <pod_id> --thread-id <thread_id>
```
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
pod_id
ID of pod.
thread_id
ID of thread.
Query parameters
permanent
If true, permanently delete the thread instead of moving to trash.
Errors
404
Not Found Error
