mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-23 14:43:09 +01:00
15 lines
260 B
TypeScript
15 lines
260 B
TypeScript
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;
|
|
}
|