Skip to main content
POST
Turn automated savings on or off for Snowflake warehouses

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Body

application/json

Turn automated savings on or off for a batch of Snowflake warehouses.

items
SnowflakeWarehouseAutomatedSavingsItem · object[]
required

The warehouses to change.

Required array length: 1 - 100 elements
smart_suspend
boolean
required

true turns automated savings on, false turns it off. Automated savings is only turned on for STANDARD and SNOWPARK-OPTIMIZED warehouses. Other warehouses keep their current setting.

Response

Successful Response

items
SnowflakeWarehouse · object[]
required
row_count
integer
required

The number of applied entries.

failures
BatchItemFailure · object[]
required

The entries that were not applied, in request order. Empty when every entry was applied.

page_token
string | null

Opaque cursor for the next page; empty/absent on the last page.