Proxy Keys
Delete All Proxy Keys
Delete all proxy keys for the authenticated user
DELETE
Delete all proxy keys associated with your account in a single operation. The URL is static (no path parameter), so it is exact-matched at the edge and unaffected by the path-traversal-append DDoS pattern.
Overview
This endpoint is useful for bulk cleanup, security incidents, or account reset scenarios. It iterates every proxy key on your account and deletes each one.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 each key instead of deleting it:
Selective Cleanup
Selective Cleanup
Delete only specific keys (here: only expired ones):
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.
