SecureAI stores conversations, uploaded documents, assistants, and user account data. Administrators have full control over deleting any of this data, while regular users can delete their own conversations and assistants. This article covers every deletion path available, what happens behind the scenes when data is removed, and how deletion supports your compliance obligations.
What Can Be Deleted
| Data Type | Who Can Delete | Where |
|---|---|---|
| Your own conversations | Any user | Conversation list > select > Delete |
| Any user's conversations | Administrators | Admin Panel > Conversations |
| Uploaded documents | Administrators | Admin Panel > Knowledge Bases > select document |
| Assistants you created | Assistant creator | Workspace > Assistants > select > Delete |
| Any assistant | Administrators | Admin Panel > Assistants |
| User accounts and all associated data | Administrators | Admin Panel > Users |
| All organization data | Organization owner | Contact your account representative |
All deletions are permanent and irreversible. There is no trash or recycle bin. Confirm before deleting.
Deleting Conversations
As a User
- Open the conversation list in the left sidebar.
- Select one or more conversations using the checkboxes.
- Click Delete.
- Confirm the deletion when prompted.
This removes the conversation, all messages within it, and any in-conversation file attachments. The deletion takes effect immediately.
As an Administrator
- Navigate to Admin Panel > Conversations.
- Use filters to narrow by user, date range, or keyword.
- Select conversations individually or use Select All for bulk deletion.
- Click Delete and confirm.
Administrator deletions are logged in the audit trail, including which conversations were deleted and when.
What Happens When a Conversation Is Deleted
- All messages (user prompts and AI responses) are permanently removed from the database.
- Any files uploaded directly into the conversation (not via a knowledge base) are deleted from storage.
- The conversation no longer appears in search results or history.
- AI model providers do not retain conversation data, so there is nothing to delete on their side.
Deleting Uploaded Documents
Documents live in knowledge bases. Only administrators can delete documents from knowledge bases.
- Navigate to Admin Panel > Knowledge Bases.
- Select the knowledge base containing the document.
- Click the document you want to remove.
- Click Delete and confirm.
What Happens When a Document Is Deleted
- The original file is permanently removed from Cloud Storage.
- The document's vector embeddings are deleted from the search index.
- Future AI responses will no longer reference the document's content.
- Any conversations that previously cited the document are not affected -- those messages remain as-is, but the source document is no longer retrievable.
To delete an entire knowledge base and all its documents at once, select the knowledge base and click Delete Knowledge Base.
Deleting Assistants
As a User
You can delete assistants you created:
- Click the Workspace icon in the left sidebar.
- Select the Assistants tab.
- Find the assistant you want to delete.
- Click the assistant's menu (three dots) and select Delete.
- Confirm the deletion.
As an Administrator
Administrators can delete any assistant in the organization:
- Navigate to Admin Panel > Assistants (or Workspace > Assistants with admin privileges).
- Select the assistant to delete.
- Click Delete and confirm.
What Happens When an Assistant Is Deleted
- The assistant's configuration (system prompt, model parameters, name, description) is permanently removed.
- Knowledge bases linked to the assistant are not deleted -- they remain available for other assistants or direct use.
- Existing conversations that used the assistant are preserved, but new conversations cannot be started with that assistant.
- If the assistant was shared with other users, it disappears from their assistant list immediately.
Deleting User Accounts
When a user leaves your organization or requests account deletion:
- Navigate to Admin Panel > Users.
- Select the user.
- Click Deactivate to immediately revoke access. The user can no longer log in, but their data remains for audit purposes.
- To permanently remove all user data, click Delete All User Data.
Deleting all user data removes:
- The user's account and profile information
- All conversations created by the user
- All documents uploaded by the user
- All assistants created by the user
- Usage metadata associated with the user
This action satisfies GDPR right-to-erasure (Article 17) requests.
Automatic Deletion via Retention Policies
Instead of deleting data manually, configure retention policies to automatically remove data on a schedule:
- Navigate to Admin Panel > Settings > Data Retention.
- Set retention periods for each data type:
- Conversation history: 30, 90, 180, or 365 days
- Audit logs: typically longer than conversation retention (defined in your service agreement)
- Data older than the retention period is permanently deleted on a rolling basis.
Retention policies run automatically and require no manual intervention once configured. For detailed setup instructions, see Configuring Data Retention Policies.
Organization-Level Data Deletion
When a service agreement ends, all data associated with your organization is permanently deleted within the timeframe specified in your agreement (typically 30 days after termination). This includes:
- All conversations across all users
- All uploaded documents and knowledge bases
- All assistants and their configurations
- All user accounts and profile data
- All audit logs and usage metadata
Contact your account representative to initiate this process or to request early deletion.
Data Deletion and Compliance
GDPR
SecureAI supports GDPR compliance for data deletion:
- Right to erasure (Article 17): Use the Delete All User Data function in Admin Panel > Users to fulfill erasure requests. This removes all personal data associated with the user.
- Data portability (Article 20): Before deleting, users can export their conversations. See Can I search and export past chats? for export options.
- Record of deletion: All deletion actions are logged in the audit trail for compliance documentation.
SOC 2
Deletion actions are captured in audit logs, providing the evidence trail required for SOC 2 Type II controls around data lifecycle management.
AI Model Providers
AI model providers (OpenAI, Anthropic, Azure OpenAI) do not retain your prompts or responses beyond the API request lifecycle. When you delete data from SecureAI, there is nothing to delete at the model provider -- this is contractually enforced.
If your organization uses local models (Ollama or vLLM), prompts never leave your infrastructure.
Quick Reference
| Task | Path |
|---|---|
| Delete your own conversations | Conversation list > select > Delete |
| Delete any user's conversations | Admin Panel > Conversations > filter > Delete |
| Delete a document from a knowledge base | Admin Panel > Knowledge Bases > select > Delete |
| Delete an entire knowledge base | Admin Panel > Knowledge Bases > Delete Knowledge Base |
| Delete an assistant you created | Workspace > Assistants > menu > Delete |
| Delete any assistant | Admin Panel > Assistants > Delete |
| Deactivate a user | Admin Panel > Users > Deactivate |
| Permanently delete a user's data | Admin Panel > Users > Delete All User Data |
| Set up automatic deletion | Admin Panel > Settings > Data Retention |
Related Articles
- How SecureAI Handles Your Data -- full data flow, encryption, and retention details
- How do we delete our data? -- quick FAQ on data deletion
- Configuring Data Retention Policies -- retention period setup
- How to Audit User Activity -- step-by-step audit log guide
- Compliance Certifications -- SOC 2, GDPR, HIPAA -- compliance framework details