Skip to main content
POST
Turn automated savings on or off for Databricks SQL 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 SQL warehouses.

Each entry is checked on its own. The accepted entries are saved, and each rejected entry is reported with its position in items.

items
DatabricksSqlWarehouseSavingsBatchUpdateItem · object[]
required

The SQL warehouses to change.

Required array length: 1 - 100 elements
enabled
boolean
required

True turns automated savings on for every warehouse in items. False turns it off.

Response

Successful Response

items
DatabricksSqlWarehouseSavings · 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.