Revoke Developer Key
Authentication
Revoke Developer Key
Revoke a developer key.
DELETE
Revoke Developer Key
Revoke an active developer key to immediately prevent its use for API authentication. This action is permanent and cannot be undone - revoked keys cannot be reactivated.
No response body is returned for successful revocations.
The key has already been revoked or was never active.
Invalid or missing JWT token.
Attempting to revoke a key that belongs to a different developer account, or using an invalid/revoked developer key for authentication.
Attempting to revoke the same key being used in the
The specified
The
Authentication
Requires valid JWT token withdeveloper role and an active developer key (different from the one being revoked).
Headers
Bearer JWT access token obtained from login
Must be set to
developerActive developer key for authentication (must be different from the key being revoked)
Path Parameters
UUID of the developer key to revoke. Obtain this from the List Developer Keys endpoint.
Response
Returns204 No Content on successful revocation. No response body is returned.
Example Request
Example Response
Use Cases
Revoke Compromised Keys
Immediately deactivate keys that may have been exposed:Clean Up Unused Keys
Remove keys that haven’t been used recently:Offboard Team Members
Revoke keys when team members leave:Key Rotation with Graceful Cutover
Revoke old keys after new ones are deployed:Security Considerations
Revocation takes effect immediately. Any in-flight API requests using the revoked key will fail with a 403 Forbidden error.
When to Revoke Keys
- Compromised Keys: Immediately revoke if a key is exposed in code repositories, logs, or insecure channels
- Employee Offboarding: Revoke all keys assigned to departing team members on their last day
- Rotation Schedule: Revoke old keys after rotating to new ones (90-day rotation recommended)
- Unused Keys: Revoke keys that haven’t been used in 90+ days
- Environment Decommission: Revoke keys when shutting down environments (e.g., old staging environments)
- Security Incidents: Revoke all keys during security incident response
Best Practices
- Maintain Backup Key: Always keep at least 2 active keys to avoid locking yourself out
- Document Revocations: Log all key revocations with reasons and timestamps
- Verify Before Revoking: Ensure services using the key have been migrated to new keys
- Immediate Action: Don’t delay revocation of compromised keys
- Communicate Changes: Notify team members before revoking shared environment keys
Error Responses
Key Already Revoked (400)
Unauthorized (401)
Forbidden (403)
Cannot Revoke Active Key (403)
X-Developer-Key header.
Key Not Found (404)
key_id does not exist or was deleted.
Invalid UUID Format (422)
key_id parameter is not a valid UUID format.
Revocation Effects
After revocation, the key:- ✅ Immediately stops authenticating API requests
- ✅ Disappears from the List Developer Keys endpoint
- ✅ Returns 403 Forbidden when used in API requests
- ✅ Cannot be reactivated or restored
- ✅ Frees up one slot toward the 10-key limit
Related Pages
List Developer Keys
View all active keys to find key IDs
Create Developer Key
Generate replacement keys after revocation
Revoke via Cloud Admin
Revoke keys using web interface
Security Practices
Key rotation and incident response

