API keys
Revoke the key making the call
Signs a tool out: the API key in the Authorization header stops working at once. Needs no scope. Usage history for the key is kept.
DELETE
/v1/keys/currentAny API key. No scope needed.
Responses
204Revoked.
400The call was not made with an API key (code
not_api_key).401Missing, invalid or revoked key.
404The key is already revoked (code
not_found).429Rate limited: 30 requests a minute per key. Carries Retry-After.
Example
curl -X DELETE https://api.raylight.app/v1/keys/current \ -H "Authorization: Bearer $RAYLIGHT_API_KEY"