Revoke an API key
DELETE/v1/api_keys/{id}
Takes effect immediately, not after the authentication cache expires.
Parameters
| Name | In | Description |
|---|---|---|
| idrequired | path |
Example
curl -X DELETE https://api.woyra.io/v1/api_keys/email_01J... \
-H "Authorization: Bearer $WOYRA_KEY"Response
204 Revoked.
Errors
| Status | Codes |
|---|---|
| 404 | not_found, product_not_offered |
Also in API keys
- GET /v1/api_keys — List API keys
- POST /v1/api_keys — Mint an API key