VotePipe
Back to API Keys Endpoints

DELETE /v1/api-keys/:id

Growth+

Permanently revoke and delete an API key. Once deleted, the key will immediately stop working and cannot be recovered. This action is irreversible, so make sure you want to delete the key before proceeding. Use this endpoint when a key has been compromised, is no longer needed, or needs to be rotated for security purposes.

Request

http
DELETE https://api.votepipe.com/v1/api-keys/1 Authorization: Bearer mr_live_your_api_key_here

Response (200 OK)

json
{ "data": { "message": "Key revoked" }, "meta": { "request_id": "req_abc123" } }

⚠️ Warning: After deletion, any applications or scripts using this API key will immediately lose access to the API. Make sure to update all systems using this key before deleting it, or have a replacement key ready to deploy.

Learn More