feat: add forced WAP server deletion support to clean up associated organizations and runtime bots

This commit is contained in:
2026-07-30 17:58:10 -03:00
parent cb830fcf01
commit 446c65ff37
8 changed files with 191 additions and 19 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import {
PaginateWapServerResults,
WapServerAuditResult,
WapServerByIdParams,
WapServerDeleteParams,
WapServerDeleteResult,
WapServerDetachResult,
WapServerOrganizationActionParams,
@@ -82,7 +83,7 @@ export class WapService {
return response.data as WapServerRecalculateCountResult;
}
public async deleteWapServer(data: WapServerByIdParams): Promise<WapServerDeleteResult> {
public async deleteWapServer(data: WapServerDeleteParams): Promise<WapServerDeleteResult> {
const nonce = await getSysAdminNonce();
const postData = { ...data, ...{ payload: getPayload(nonce) } };