Server actions
Power, console, reinstall and password reset, and the actions they start.
Operations
- POSTRun a power action
/services/{serviceId}/power - POSTReinstall a server
/services/{serviceId}/reinstall - POSTReset a server's password
/services/{serviceId}/reset-password - GETList a service's actions
/services/{serviceId}/actions - GETGet an action
/actions/{actionId} - GETRetrieve an action's secret
/actions/{actionId}/secret - DELDelete an action's secret
/actions/{actionId}/secret
The Action object
A long-running change to a service: a power action, a reinstall, a password reset, a plan change, a termination or provisioning. Poll it with getAction, or listen for action.completed.
Attributes
objectstringRequiredThe object's type. Always "action".
idstring (uuid)RequiredThe action's id.
typestringRequiredWhat the action does.
One ofbootshutdownrestartpoweroffreinstallreset_passwordplan_changeterminateprovisionstatusstringRequiredqueued (recorded, not started; provisioning of a dedicated server or a proxy can stay here for hours while staff set it up), running (sent; waiting for the server to show the result), succeeded, failed, or unknown (the platform's answer was lost and the result was not confirmed in time; check the service). succeeded, failed and unknown are final and never change.
One ofqueuedrunningsucceededfailedunknownserviceIdstring (uuid) or nullRequiredThe service the action acts on. Null for a provision action until its service exists.
orderIdstring (uuid) or nullRequiredThe order a provision action belongs to, or null.
invoiceIdstring (uuid) or nullRequiredThe invoice a plan change created, or null.
failureobject or nullRequiredSet when status is failed; otherwise null.
Show 2 child attributesHide 2 child attributes
codestringRequiredplatform_refused, platform_unavailable, provisioning_failed (staff are notified and will contact you), order_rejected (the order failed review; its payment returns to wallet credit), order_cancelled or service_locked.
One ofplatform_refusedplatform_unavailableprovisioning_failedorder_rejectedorder_cancelledservice_lockedmessagestringRequiredA sentence for a person.
secretAvailablebooleanRequiredTrue while a secret this action set (a root or Administrator password) can be read with getActionSecret. Only the account owner's tokens can read it. It turns false when you delete it, after 5 reads, or when it expires.
secretExpiresAtstring (date-time) or nullRequiredWhen the secret is deleted unread or not (60 minutes after the action succeeded), or null when there is none.
createdAtstring (date-time)RequiredWhen the action was requested.
startedAtstring (date-time) or nullRequiredWhen it was sent to the platform, or null while queued.
completedAtstring (date-time) or nullRequiredWhen it reached a final status, or null.
livemodebooleanRequiredTrue for objects of your live account.
{
"object": "action",
"id": "f5c8b2a1-6e3d-4c9f-b1a7-3d2e9c0f4b6a",
"type": "restart",
"status": "running",
"serviceId": "c3a1f6d2-8b4e-4a9c-b7d5-2e1f0a3c6b8d",
"orderId": null,
"invoiceId": null,
"failure": null,
"secretAvailable": false,
"secretExpiresAt": null,
"createdAt": "2026-12-04T09:20:11Z",
"startedAt": "2026-12-04T09:20:11Z",
"completedAt": null,
"livemode": true
}