Remove content from a repository
PUT /katello/api/repositories/841753487/remove_packages
{
"ids": [
"one-uuid"
],
"repository": {}
}
202
{
"id": null,
"label": null,
"pending": true,
"action": "",
"username": null,
"started_at": null,
"ended_at": null,
"state": null,
"result": null,
"progress": 0,
"input": null,
"output": null,
"humanized": {
"action": null,
"input": null,
"output": null,
"errors": null
},
"cli_example": null,
"start_at": null,
"available_actions": {
"cancellable": null,
"resumable": false
}
}
| 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:
|