Skip to main content
Servers

Update server metadata

PATCH
/servers/{serverSlug}
Authorizationstringheaderrequired

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

serverSlugstringrequired

Slug of the server

Body

application/json

Patch server model

descriptionstringrequired

Description of the server

namestringrequired

Name of the server

nextActionDatestringrequired

Next action of the server

notesstringrequired

Internal notes or comments regarding the server

Response

application/json

Server Updated

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