Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

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.

What did you think of this content?

Clerk © 2023