boldsign
Version:
NodeJS client for boldsign
14 lines (12 loc) • 439 B
text/typescript
import { GroupContactsApi } from "../api";
const contactGroupApi = new GroupContactsApi();
contactGroupApi.setApiKey("API_KEY");
async function deleteContactGroups() {
try {
await contactGroupApi.deleteGroupContact("GROUP_ID");
console.log("Contact Groups deleted successfully.");
} catch (error: any) {
console.error("Error occurred while calling the API:", error.message);
}
}
deleteContactGroups();