PUT /katello/api/products/bulk/destroy
{
"ids": [
785257261
],
"organization_id": 114267492,
"products_bulk_action": {
"ids": [
785257261
],
"organization_id": 114267492
}
}
200
{
"displayMessages": {
"success": [
"Successfully initiated removal of 1 product(s)"
],
"error": []
}
}
| Param name | Description |
|---|---|
|
ids required |
List of product ids Validations:
|
PUT /katello/api/products/bulk/sync
{
"ids": [
785257261,
905280015
],
"organization_id": 114267492,
"skip_metadata_check": true,
"products_bulk_action": {
"ids": [
785257261,
905280015
],
"organization_id": 114267492,
"skip_metadata_check": true
}
}
202
{
"id": null,
"label": null,
"pending": null,
"username": null,
"started_at": null,
"ended_at": null,
"state": null,
"result": null,
"progress": null,
"input": null,
"output": {},
"humanized": null,
"cli_example": null,
"available_actions": {
"cancellable": null,
"resumable": null
}
}
| Param name | Description |
|---|---|
|
ids required |
List of product ids Validations:
|
|
skip_metadata_check optional |
Force sync even if no upstream changes are detected. Non-yum repositories are skipped. Validations:
|
|
validate_contents optional |
Force a sync and validate the checksums of all content. Non-yum repositories (or those with On Demand download policy) are skipped. Validations:
|
PUT /katello/api/products/bulk/verify_checksum
{
"ids": [
785257261,
905280015
],
"organization_id": 114267492,
"products_bulk_action": {
"ids": [
785257261,
905280015
],
"organization_id": 114267492
}
}
204
| Param name | Description |
|---|---|
|
ids required |
List of product ids Validations:
|
PUT /katello/api/products/bulk/http_proxy
{
"ids": [
785257261
],
"organization_id": 114267492,
"http_proxy_policy": "global_default_http_proxy",
"products_bulk_action": {
"ids": [
785257261
],
"organization_id": 114267492,
"http_proxy_policy": "global_default_http_proxy"
}
}
202
{
"id": null,
"label": null,
"pending": null,
"username": null,
"started_at": null,
"ended_at": null,
"state": null,
"result": null,
"progress": null,
"input": null,
"output": {},
"humanized": null,
"cli_example": null,
"available_actions": {
"cancellable": null,
"resumable": null
}
}
| Param name | Description |
|---|---|
|
ids required |
List of product ids Validations:
|
|
http_proxy_policy optional |
policy for HTTP proxy for content sync Validations:
|
|
http_proxy_id optional |
HTTP Proxy identifier to associated Validations:
|
PUT /katello/api/products/bulk/sync_plan
{
"ids": [
785257261,
905280015
],
"organization_id": 114267492,
"products_bulk_action": {
"ids": [
785257261,
905280015
],
"organization_id": 114267492
}
}
204
| Param name | Description |
|---|---|
|
ids required |
List of product ids Validations:
|
|
plan_id required |
Sync plan identifier to attach Validations:
|