Skip to main content
Servers

Cancel scheduled deletion

Cancels a still-pending scheduled server deletion/cancellation and resumes normal billing.

Prerequisite: the server must currently have pendingDeletion=true.

This endpoint does not restore archived (suspended) servers, does not recover already deleted servers, does not undo snapshot restores, and does not start/stop server runtime state.

Runtime behavior: returns 200 with ServerDTO when pending deletion is successfully removed; returns 400 if no scheduled deletion is pending; returns 404 when the server slug is not an active server (including servers already deleted or archived via archiveServer).

Returns 400 while billing maintenance is active (deletion changes are temporarily disabled).

POST
/servers/{serverSlug}/uncancel
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

Response

application/json

Scheduled deletion cancelled

SSHPasswordAuthEnabledbooleandefault:false

SSH Password Authentication Enabled for this Server

WordPressLockDownbooleandefault:false

Wordpress lockdown status

aliasesstring[]

Aliases - Domain names for the server as known by Webdock. First entry should be treated as the "Main Domain" for the server.

datestring

Creation date/time

descriptionstring

Server Description (what's installed here?) as entered by admin in Server Metadata

imagestring

Server image

imageDataobject

ServerImage model

ipv4string | null

IPv4 address

ipv6string | null

IPv6 address

lastcheckedstring | null

Last time the platform checked this server for utilization metrics

locationstring | null

Location ID of the server

metadataobject

Server metadata such as default alias/domain flags, certificate run status, UI fields, billing helper fields, and automation toggles.

namestring

Server name

nextActionDatestring | null

Date sourced from server metadata.invoice_date. Often used as the next billing/lifecycle action date (including scheduled end-of-period cancellation/deletion when applicable), but may be null.

notesstring

Notes as entered by admin in Server Metadata

passwordlessSudoEnabledbooleandefault:false

Passwordless sudo enabled for this Server

pendingDeletionbooleandefault:false

True when this server currently has a pending scheduled cancellation/deletion (for example end-of-period deletion for billed servers).

profilestring | null

Server profile

profileDataobject

ServerProfile model

secondary_ipsobject[]

Secondary IP addresses assigned to this server

servicesobject

Service information attached to this server.

slugstring

Server slug

snapshotRunTimeinteger

Last known snapshot runtime (seconds)

statusenum<string>

Server lifecycle status. Active compute servers use statuses such as provisioning/running/stopped/error/rebooting/starting/stopping/reinstalling. Archived servers returned through suspended inventory views use status=suspended.

Available options: provisioning, running, stopped, error, rebooting, starting, stopping, reinstalling, suspended
virtualizationenum<string>

Server virtualization type indicating whether it's a Webdock LXD VPS or a KVM Virtual Machine. Container virtualization has been deprecated so you will only see this value for legacy servers.

Available options: container, kvm
webServerenum<string>

Webserver type

Available options: Apache, Nginx, None