feat: ability to delete api keys

This commit is contained in:
2026-06-02 22:16:49 +00:00
parent a0f84ec78e
commit 5b79f5fb4b
3 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ export const api = {
return handle(res);
},
async revokeApiKey(id: number): Promise<void> {
async deleteApiKey(id: number): Promise<void> {
const res = await fetch(`/api/api-keys/${id}`, {
method: "DELETE",
credentials: "include",