Docs

You are viewing an archived version of the docs.Go to latest version

deleteOrganization()

Deletes an organization given a valid ID. Throws an error otherwise.

const organizationId = 'my-organization-id';

const organization = await clerkClient.organizations.deleteOrganization(organizationId);
  • Name
    organizationId
    Type
    string
    Description

    The ID of the organization to delete.

Feedback

What did you think of this content?

Last updated on