POST /api/hosts/980191208/subscriptions/remove_subscriptions { "subscriptions": [ { "id": 128914721, "quantity": "3" } ], "host_subscription": { "subscriptions": [ { "id": 128914721, "quantity": "3" } ] } } 200 { "total": 0, "subtotal": 0, "selectable": 0, "page": 1, "per_page": 0, "error": null, "search": null, "sort": { "by": null, "order": null }, "results": [] }
Param name | Description |
---|---|
host_id
required |
Id of the host Validations:
|
subscriptions
optional |
Array of subscriptions to remove Validations:
|
subscriptions[id]
required |
Subscription Pool id Validations:
|
subscriptions[quantity]
optional |
If specified, remove the first instance of a subscription with matching id and quantity Validations:
|