Overview
Delete all proxy keys associated with your account in a single operation. This is useful for bulk cleanup, security incidents, or account reset scenarios.Irreversible Action: This permanently deletes ALL proxy keys. This action cannot be undone, and all deleted keys will immediately stop working.
Important Considerations
Immediate Effect
Immediate Effect
All proxy keys stop working immediately. Any applications using these keys will start receiving authentication errors.
Credit Recovery
Credit Recovery
All unused credits from deleted proxy keys are returned to your main account balance.
Permanent Deletion
Permanent Deletion
Deleted keys cannot be recovered. You’ll need to recreate any keys you still need.
No Confirmation
No Confirmation
The operation executes immediately without additional confirmation prompts.
Before Bulk Deletion
Make sure to:- Audit Current Keys: Use List Proxy Keys to review what will be deleted
- Update Applications: Remove or replace proxy keys in all applications
- Backup Configurations: Save key settings if you might need to recreate them
- Notify Team: Inform team members who might be using the keys
- Check Dependencies: Verify no critical services depend on the proxy keys
Example Workflow
Python - Safe Bulk Deletion
Use Cases
Security Incident
Quickly revoke all delegated access during a security breach
Account Reset
Clean slate when restructuring API access patterns
Project Cleanup
Remove all temporary keys after project completion
Key Rotation
Part of a complete key rotation strategy
Alternative Approaches
Consider these alternatives before using bulk deletion:Individual Deletion
Individual Deletion
Delete specific keys using Delete Proxy Key for more control
Bulk Toggle
Bulk Toggle
Temporarily disable all keys instead of deleting them:
Selective Cleanup
Selective Cleanup
Filter and delete only specific types of keys:
Error Codes
Unauthorized - Invalid or missing API key
Forbidden - API key doesn’t have permission to delete proxy keys
Rate Limited - Too many requests, please slow down
Related Endpoints
- List Proxy Keys - Review keys before deletion
- Delete Proxy Key - Delete individual keys
- Toggle Proxy Key Status - Temporarily disable keys instead
Authorizations
Enter your API key (starts with 'ek-')
Response
200 - application/json
Success
Example:
"Proxy keys deleted"
