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
id integer requiredAPI key ID to revoke.
Response
200 API key revoked. All requests using this key will now fail immediately.
Show response fields
id integermessage stringrevokedAt string date-timeError codes
404 API key not found.
409 API key is already revoked.