All Products
Search
Document Center

Hologres:EnableWarehouseAutoScale

Last Updated:May 14, 2026

Enables auto scaling for a warehouse.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /api/v1/instances/{instanceId}/enableWarehouseAutoScale HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

The ID of the instance.

hgprecn-cn-xxxxxxx

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

name

string

No

The name of the warehouse.

my_warehouse

maxClusterCount

string

No

The maximum number of clusters. The value must be greater than the number of reserved clusters and less than or equal to 4.

3

Response elements

Element

Type

Description

Example

object

The response object.

requestId

string

The request ID.

819A7F0F-2951-540F-BD94-6A41ECF0281F

data

string

A value of true indicates success, while false indicates failure.

true

Examples

Success response

JSON format

{
  "requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
  "data": "true"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.