Data Apps

Toggle auto-shutdown opt-in for a container data app

SW-1282: opt a container data app in or out of automatic shutdown after a period of inactivity. Persists the opt-in flag only; a daily background sweep disables opted-in apps that have had no traffic for the configured inactivity window. Opting out also clears any pending shutdown grace period. Not supported for serverless data apps.

patch/v1/dataapps/apps/container/{id}/auto-shutdown

Request

  • Base URL
    https://api.tetrascience.com
  • URL
    https://api.tetrascience.com/v1/dataapps/apps/container/{id}/auto-shutdown
  • Auth
    API key in header ts-auth-token and API key in header x-org-slug

Path parameters

idstring uuid required

The data-app ID (the primary key of the installed data app).

Request body

enabledboolean required

Whether auto-shutdown is opted in for this data app.

Response

OK

idstring uuid
autoShutdownEnabledboolean

Changes

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