Examples

POST /api/hosts/980191211/subscriptions/add_subscriptions
{
  "subscriptions": [
    {
      "id": 128914721,
      "quantity": 1
    }
  ],
  "host_subscription": {
    "subscriptions": [
      {
        "id": 128914721,
        "quantity": 1
      }
    ]
  }
}
204

Params

Param name Description
host_id
required

Id of the host

Validations:

  • Integer

subscriptions
required

Array of subscriptions to add

Validations:

  • Must be an Array of nested elements

subscriptions[id]
required

Subscription Pool id

Validations:

  • String

subscriptions[quantity]
required

Quantity of this subscriptions to add

Validations:

  • Must be a number.