Examples

POST /katello/api/activation_keys/568942081/add_subscriptions
{
  "organization_id": 114267492,
  "subscription_id": 123,
  "activation_key": {
    "organization_id": 114267492
  }
}
204

Params

Param name Description
id
required

ID of the activation key

Validations:

  • Must be a number.

subscription_id
optional

Subscription identifier

Validations:

  • Must be a number.

quantity
optional

Quantity of this subscription to add

Validations:

  • Must be a number.

subscriptions
optional

Array of subscriptions to add

Validations:

  • Must be an Array of nested elements

subscriptions[id]
optional

Subscription Pool uuid

Validations:

  • String

subscriptions[quantity]
optional

Quantity of this subscriptions to add

Validations:

  • Must be a number.