Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

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

NameTypeDescription
organizationIdstringThe ID of the organization to delete.

Last updated on August 16, 2023

What did you think of this content?

Clerk © 2024