Skip to navigation

Get auto node removal policy

View as Markdown

Returns the customer’s “Auto remove machines” settings. Customers without an explicit policy get the defaults (enabled, offlineThresholdDays 7).

Response

Current auto node removal policy
createdAtstringOptional
enabledbooleanOptional
lastCheckedAtstringOptional

LastCheckedAt is the most recent reaper evaluation. It is zero for a new or backfilled policy until the reaper runs (DB column is NULL), and omitted from the response until then.

offlineThresholdDaysintegerOptional
updatedAtstringOptional
updatedBystringOptional

Errors

401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error
503
Service Unavailable Error