Revoke API key
DELETE
https://app.speybooks.com/api/v1/api-keys/{id}Permanently revoke an API key. The key stops authenticating immediately. This action cannot be undone — create a new key if access is needed again. Already-revoked keys return a 409 Conflict.
Path parameters
idintegerrequiredAPI key ID to revoke.
Response
200API key revoked. All requests using this key will now fail immediately.
Show response fields
idintegermessagestringrevokedAtstringdate-timeError codes
404API key not found.
409API key is already revoked.