All Products
Search
Document Center

Hologres:UpdateWarehouseScheduleTask

Last Updated:May 14, 2026

Updates an elastic schedule 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}/updateWarehouseScheduleTask HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

The instance ID.

hgprecn-cn-xxxxxxx

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

warehouseId

integer

Yes

The warehouse ID.

1

startTime

string

No

The start time. The time must be in 24-hour HHmm format, on the hour or half-hour. For example, 0030, 0100, and 0400.

0200

endTime

string

No

The end time. The time must be in 24-hour HHmm format, on the hour or half-hour. The end time must be later than the start time. For example, 0030, 0100, and 0400.

0400

elasticCu

integer

No

The number of CUs to add. The value must be a multiple of 16, be at least 16, and not exceed the current warehouse size.

32

id

string

No

The elastic schedule ID.

1980869072412614657

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The request ID.

2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A

Data

boolean

Indicates whether the operation succeeded. A value of true indicates success, and false indicates failure.

true

Examples

Success response

JSON format

{
  "RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\n",
  "Data": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.