---
title: organization_purge
full: true
_openapi:
  preload:
    - ./lib/openapi.yml
  method: DELETE
  webhook: false
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Purge an organization.


          <Callout title="Warning!" type="warn">Purging an organization cannot
          be undone!</Callout>


          Purging an organization completely removes the organization from the
          CKAN database, whereas deleting a organization simply marks the
          organization as deleted (it will no longer show up in the frontend,
          but is still in the db).


          Datasets owned by the organization will remain, just not in an
          organization anymore.


          You must be authorized to purge the organization.
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="./lib/openapi.yml" operations={[{"path":"organization_purge","method":"delete"}]} showDescription />
    </>
  );
}