import { SyllableSDK } from "syllable-sdk";const syllableSDK = new SyllableSDK({ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",});async function run() { const result = await syllableSDK.organizations.delete({ deleteComments: "Deleted the organization because it was no longer needed", }); console.log(result);}run();
Delete the current organization and all its users.
DELETE
/
api
/
v1
/
organizations
/
Typescript (SDK)
import { SyllableSDK } from "syllable-sdk";const syllableSDK = new SyllableSDK({ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",});async function run() { const result = await syllableSDK.organizations.delete({ deleteComments: "Deleted the organization because it was no longer needed", }); console.log(result);}run();