Add NPM proxy host apply paths

This commit is contained in:
Lyncoln
2026-09-20 01:00:42 -04:00
parent 6ec4f2932e
commit c4cdc92865
4 changed files with 748 additions and 1 deletions
+15
View File
@@ -223,6 +223,21 @@ class NpmClient:
"proxy-host update",
)
def delete_proxy_host(
self,
local_id: str | int,
) -> None:
proxy_host_id = self._local_id(
local_id,
"proxy host",
)
self.request(
"DELETE",
f"/nginx/proxy-hosts/{proxy_host_id}",
expected_status=200,
)
def certificate(
self,
local_id: str | int,