Examples

POST /katello/api/organizations/114267492/upstream_subscriptions
{
  "pools": [
    {
      "id": "1234abcd",
      "quantity": 3
    }
  ],
  "upstream_subscription": {
    "pools": [
      {
        "id": "1234abcd",
        "quantity": 3
      }
    ]
  }
}
204

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.