deleteOrganization()
Deletes an organization given a valid ID. Throws an error otherwise.
const organizationId = 'my-organization-id'; const organization = await clerkClient.organizations.deleteOrganization(organizationId);
Required params
Name | Type | Description |
---|---|---|
organizationId | string | The ID of the organization to delete. |