# 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/current

**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.

Auth: `Authorization: Bearer rl_live_...`, any key (no scope needed).

Responses:

| Status | Meaning |
| --- | --- |
| 204 | Revoked. |
| 400 | The call was not made with an API key (code `not_api_key`). |
| 401 | Missing, invalid or revoked key. |
| 404 | The key is already revoked (code `not_found`). |
| 429 | Rate limited: 30 requests a minute per key. Carries Retry-After. |

Example (curl):

```bash
curl -X DELETE https://api.raylight.app/v1/keys/current \
  -H "Authorization: Bearer $RAYLIGHT_API_KEY"
```

## More

- Previous: [Poll a key request](https://www.raylight.app/docs/reference/post-v1-keys-poll.md)
- Next: [Render images into a video](https://www.raylight.app/docs/reference/post-v1-renders.md)
- All docs: https://www.raylight.app/llms.txt
- Everything in one file: https://www.raylight.app/llms-full.txt
- OpenAPI: https://api.raylight.app/v1/openapi.json
