Remove Content ============== Removing content from Pulp entirely is slightly complicated for a number of architectural reasons. First, repository-versions are immutable (so you can get back to any version and have all the content available). This means that it is not possible to remove content as long as there still exists a repo-version that "knows about it". Second, Pulp deduplicates content. Artifacts can be shared across repositories - which means the repo being looked at, may not be the only one whose repo-versions still point to the content. **The way content gets removed "from Pulp" is via the orphan cleanup task, which will look for Artifacts that don't belong to any repository-versions, and haven't been touched in a while, and removes them.** Removing Content ---------------- .. warning:: Please, follow the script steps carefuly and only if you know what you are doing because you risk losing data. Using pulp-cli commands: .. literalinclude:: ../_scripts/remove_content_cli.sh :language: bash Using httpie to talk directly to the REST API: .. literalinclude:: ../_scripts/remove_content.sh :language: bash