Operator

Rename, set the address or size, or change the status (open for customers, full, draining); opening runs the checks first

patch/operator/servers/{serverId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/servers/{serverId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

serverIdstring uuid required

Request body

namestring
publicAddressstring nullable
status'preparing' | 'active' | 'full' | 'draining'
cpusnumber nullable
memoryMbinteger nullable
diskGbinteger nullable
notestring nullable
reasonstring required

Response

Saved

status'ok' required
replayboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.