VPS
Add an addon to a server
post
/vps/{vps_id}/addonsAdd an extra, such as the 10 Gbps port, to a server you already have. It is billed per hour from now on, like the server. If the server is running, restart it from the panel to get the full benefit. You can remove it yourself at any time. At most 3 additions per server in 24 hours.
Autorización
Authorization
Authorization*string
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
vps_id*integer
Rango
1 ≤ valueCuerpo de la petición
One addon picked at deploy. quantity must respect the addon's min/max/step.
application/jsonObligatorio
slug*string
Addon slug
Rango
1 ≤ length ≤ 64quantity?integer
Units (1 for flat addons)
Rango
1 ≤ value ≤ 100000Por defecto1Respuestas
Successful Response
application/json
detail*string
Confirmation. Tells you when the server needs a restart.
addon*ServiceAddonCustomerOut
An addon contracted on one of your servers (read only).
Propiedades (17)
uuid*string
slug*string
name*string
description?string | null
category*string
unit_label?string | null
quantity*integer
monthly_unit_price*number
monthly_total*number
hourly_total?number | null
setup_fee*number
billing_mode*string
status*string
contracted_at?string | null
cancel_effective_at?string | null
reference?string | null
currency?string
Por defecto
"USD"