Examples

POST /katello/api/organizations/114267492/upstream_subscriptions
{
  "pools": [
    {
      "id": "3",
      "quantity": 6
    }
  ],
  "upstream_subscription": {
    "pools": [
      {
        "id": "3",
        "quantity": 6
      }
    ]
  }
}
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
pools
required

Array of pools to add

Validations:

  • Must be an Array of nested elements

pools[id]
required

Candlepin ID of pool to add

Validations:

  • String

pools[quantity]
required

Quantity of entitlements to bind

Validations:

  • Must be a number.

organization_id
required

Organization ID

Validations:

  • Must be a number.