Problem: * How can I delete an artifact with ‘pulp-cli’?
I tried with httpie this method:
[admin@pulp-vso-pr pulp3]$ http --form DELETE http://mypulp/pulp/api/v3/content/rpm/packages/568d2155-a032-4a2b-807f-783c9d0e10f6/
Authorization:“Basic xxxxxxxxxxxxxxxxxx”
HTTP/1.1 405 Method Not Allowed
access-control-expose-headers: Correlation-ID
allow: GET, HEAD, OPTIONS
content-length: 43
content-type: application/json
correlation-id: 042d19ea1f464543acdacaafb97c9ad6
date: Wed, 10 Aug 2022 15:53:59 GMT
referrer-policy: same-origin
server: gunicorn
vary: Accept, Cookie
x-content-type-options: nosniff
x-frame-options: DENY
{
“detail”: “Method “DELETE” not allowed.”
}
Pulpcore version:
{
"component": "core",
"version": "3.20.0",
"package": "pulpcore"
},
Pulp plugins installed and their versions:
{
“component”: “rpm”,
“version”: “3.17.7”,
“package”: “pulp-rpm”
},
{
“component”: “file”,
“version”: “1.10.3”,
“package”: “pulp-file”
},
{
“component”: “container”,
“version”: “2.13.0”,
“package”: “pulp-container”
},
{
“component”: “ansible”,
“version”: “0.14.0”,
“package”: “pulp-ansible”
}
Operating system - distribution and version: alma 8.6