Examples

PUT /katello/api/organizations/114267492/sync_plans/712395790/remove_products
{
  "product_ids": [
    "785257261",
    "1073012828",
    "905280015"
  ],
  "sync_plan": {}
}
200
{
  "id": 712395790,
  "organization_id": 114267492,
  "name": "Sync Plan Hourly",
  "description": "An hourly sync plan",
  "interval": "hourly",
  "next_sync": "2022-11-08 19:46:00 UTC",
  "sync_date": "2014-01-09 17:46:00 UTC",
  "created_at": "2014-01-09 17:46:00 UTC",
  "updated_at": "2022-11-08 19:25:48 UTC",
  "enabled": true,
  "foreman_tasks_recurring_logic_id": 5,
  "cron_expression": null,
  "products": [],
  "permissions": {
    "view_sync_plans": true,
    "edit_sync_plans": true,
    "destroy_sync_plans": true
  }
}

Params

Param name Description
organization_id
required

Organization ID

Validations:

  • Must be a number.

id
required

ID of the sync plan

Validations:

  • String

product_ids
required

List of product ids to remove from the sync plan

Validations:

  • Must be an array of any type