All Products
Search
Document Center

Hologres:CreateWarehouse

Last Updated:May 14, 2026

Creates 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/warehouse/{instanceId}/create HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

The instance ID.

hgpostcn-cn-j672yny9g001

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

body

object

No

The request body.

warehouseName

string

No

The warehouse name.

warehouse-test

cpu

string

No

The number of CPU cores.

32

config

string

No

The configuration settings.

""

Response elements

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

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

Data

boolean

The result of the creation operation. true indicates success, and false indicates failure.

Valid values:

  • true :

    Success

  • false :

    Failure

true

HttpStatusCode

string

The HTTP status code.

200

Success

string

Indicates whether the API call was successful. This does not reflect the outcome of the business operation.

Valid values:

  • true :

    Success

  • false :

    Failure

true

ErrorMessage

string

The error message for a failed request.

null

Examples

Success response

JSON format

{
  "RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A",
  "Data": true,
  "HttpStatusCode": "200",
  "Success": "true",
  "ErrorMessage": "null"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.