mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-28 08:57:53 +01:00
Implements certificate delete ui
This commit is contained in:
7 files changed
+68
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import * as api from "./base";
|
||||
|
||||
export async function deleteCertificate(
|
||||
id: number,
|
||||
abortController?: AbortController,
|
||||
): Promise<boolean> {
|
||||
const { result } = await api.del(
|
||||
{
|
||||
url: `/certificates/${id}`,
|
||||
},
|
||||
abortController,
|
||||
);
|
||||
return result;
|
||||
}
|
||||
Reference in new issue
Block a user