List the add-ons of a plan

Returns the add-ons that can be bought with the plan, each priced for that plan's resources. Plans outside the server categories carry no add-ons and return an empty list.

GET
/plans/{plan}/addons

Authorization

BearerToken
AuthorizationBearer <token>

In: header

Path Parameters

plan*integer

The plan ID

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/plans/0/addons"
{  "data": [    {      "key": "100mbps-unmetered",      "price": "string",      "price_with_vat": "string",      "price_until_expiry": "string",      "price_until_expiry_with_vat": "string"    }  ]}