ckanaction/docs/content/docs/package_delete.mdx

36 lines
No EOL
941 B
Text

---
title: package_delete
full: true
_openapi:
preload:
- ./lib/openapi.yml
method: DELETE
webhook: false
toc: []
structuredData:
headings: []
contents:
- content: >
Delete a dataset (package).
This makes the dataset disappear from all web & API views, apart from
the trash.
You must be authorized to delete the dataset.
---
{/* 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":"package_delete","method":"delete"}]} showDescription />
</>
);
}