namespaces.delete
Permanently deletes a namespace and all its contents. This action is irreversible.Parameters
The exact name of the namespace to delete.
None.
Raises: NamespaceNotFound, AuthenticationError, APIError.
Example
Delete Namespace Example
Error Handling
Error Handling Example
Important Notes
- Deletion is processed asynchronously and may take several minutes for large namespaces
- You can continue using other namespaces while deletion is in progress
- Storage quota is updated once deletion is complete
- Deleted namespace names become available for reuse after completion
Best Practices
- Backup Important Data: Export or backup critical data before deletion
- Verify Namespace Name: Double-check the namespace name before deletion
- Monitor Usage: Use the list namespaces endpoint to confirm deletion completion
- Plan Downtime: Consider impact on applications using the namespace
Use Cases
- Data Cleanup: Remove old or unused namespaces to free up storage
- Project Completion: Delete namespaces for completed projects
- Resource Management: Manage namespace limits by removing unused ones
- Data Lifecycle: Implement data retention policies
Related Operations
- List Namespaces - View all namespaces before deletion
- Create Namespace - Create a new namespace