All Products
Search
Document Center

AnalyticDB:CreateSupabaseProject

Last Updated:Nov 05, 2025

Creates a Supabase project.

Operation description

  • You can call this operation to create a Supabase project.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
gpdb:CreateSupabaseProjectcreate
*SupabaseProject
acs:gpdb:{#regionId}:{#accountId}:supabaseproject/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ProjectNamestringYes

The name of the Supabase project. The name must meet the following requirements:

  • The name must be 1 to 128 characters in length.
  • The name can contain only letters, digits, hyphens (-), and underscores (_).
  • The name must start with a letter or an underscore (_).
saas_iot_x86_modbustcp_lqt01
ZoneIdstringYes

The zone ID.

Note You can call the DescribeRegions operation to query the most recent zone list.
cn-hangzhou-h
AccountPasswordstringYes

The password of the initial account.

  • The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
  • Special characters include ! @ # $ % ^ & * ( ) _ + - =
  • The password must be 8 to 32 characters in length.
Pw123456
SecurityIPListstringYes

The IP address whitelist.

A value of 127.0.0.1 denies access from any external IP address. You can call the ModifySecurityIps operation to modify the IP address whitelist after you create a project.

127.0.0.1
VpcIdstringYes

The virtual private cloud (VPC) ID.

Note
  • You can call the DescribeRdsVpcs operation to query the available VPC IDs.

  • This parameter must be specified.

vpc-bp*******************
VSwitchIdstringYes

The vSwitch ID.

Note
  • This parameter must be specified.

  • The zone where the vSwitch resides must be the same as the zone that is specified by ZoneId.

vsw-bp1cpq8mr64paltkb****
ProjectSpecstringYes

The specifications of the Supabase project. Default value: 1C1G.

1C1G
StorageSizelongNo

The storage size. Unit: GB. Default value: 1.

2
DiskPerformanceLevelstringNo

The performance level of Enterprise SSDs (ESSDs). Default value: PL0. Valid values:

  • PL0
  • PL1
PL0
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request. For more information, see How to ensure idempotence.

0c593ea1-3bea-11e9-b96b-88888888****

Response parameters

ParameterTypeDescriptionExample
object
ProjectIdstring

The Supabase project ID.

sbp-180****
RequestIdstring

The request ID.

ABB39CC3-4488-4857-905D-2E4A051D****

Examples

Sample success responses

JSONformat

{
  "ProjectId": "sbp-180****",
  "RequestId": "ABB39CC3-4488-4857-905D-2E4A051D****"
}

Error codes

For a list of error codes, visit the Service error codes.