Examples

PUT /katello/api/organizations/114267492/upstream_subscriptions
{
  "pools": [
    {
      "id": "12345",
      "quantity": 5
    }
  ],
  "upstream_subscription": {
    "pools": [
      {
        "id": "12345",
        "quantity": 5
      }
    ]
  }
}
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
  }
}

Params

Param name Description
organization_id
required

Organization ID

Validations:

  • Must be a number.

pools
required

Array of Pools to be updated. Only pools originating upstream are accepted.

Validations:

  • Must be an Array of nested elements

pools[id]
required

Katello ID of local pool to update

Validations:

  • String

pools[quantity]
required

Desired quantity of the pool

Validations:

  • Integer