Cant delete API_Key
I get 404 when using the delete.
_
const handleDelete = async () => {
if (!selectedKey) return;
setLoading(true);
try {
// Log the key ID for debugging
console.log('Attempting to delete API key with ID:', selectedKey.id);
const { data: result, error } = await authClient.apiKey.delete({
keyId: selectedKey.id,
});
--------------------------------------------------
I can create, edit, list, just cant delete them.
_
const handleDelete = async () => {
if (!selectedKey) return;
setLoading(true);
try {
// Log the key ID for debugging
console.log('Attempting to delete API key with ID:', selectedKey.id);
const { data: result, error } = await authClient.apiKey.delete({
keyId: selectedKey.id,
});
--------------------------------------------------
I can create, edit, list, just cant delete them.

