Remove content from a repository
PUT /katello/api/repositories/841753487/remove_packages
{
"ids": [
"one-uuid"
],
"content_type": "cheese",
"repository": {
"content_type": "cheese"
}
}
400
{
"displayMessage": "Content type cheese is incompatible with repositories of type yum",
"errors": [
"Content type cheese is incompatible with repositories of type yum"
]
}
| Param name | Description |
|---|---|
|
id
required |
repository ID Validations:
|
|
ids
required |
Array of content ids to remove Validations:
|
|
content_type
optional |
The type of content to remove (srpm, docker_manifest, etc.). Check removable types here: /katello/api/repositories/repository_types Validations:
|
|
sync_capsule
optional |
Whether or not to sync an external capsule after upload. Default: true Validations:
|