DELETEhttps://openrouter.ai/api/v1/keys/hash
Path Parameters
View in API Reference
Request
1// Delete API key (DELETE /keys/:hash)
2const response = await fetch("https://openrouter.ai/api/v1/keys/hash", {
3 method: "DELETE",
4 headers: {
5 "Authorization": "Bearer "
6 },
7});
8
9const body = await response.json();
10console.log(body);
Response