Servers

Set the action at the threshold

What happens to this hourly server when the balance reaches its threshold and no automatic reload brings it back: HIBERNATE or DELETE. A machine that cannot be hibernated (spot) only accepts DELETE (422 HIBERNATION_NOT_SUPPORTED with the reason). A prepaid server has no threshold (409 NOT_HOURLY).

put/servers/{id}/threshold-action

Request

  • Base URL: https://gpucloud.ca/api
  • URL: https://gpucloud.ca/api/servers/{id}/threshold-action
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

onFundsExhausted'HIBERNATE' | 'DELETE' required

Response

The effective action and the threshold

serverIdstring
onFundsExhausted'HIBERNATE' | 'DELETE'
hibernationThresholdCadnumber

Changes

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