All Products
Search
Document Center

Bastionhost:CreateProject

Last Updated:Aug 14, 2026

Creates a project.

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  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the bastion host instance.

Note

You can call the DescribeInstances operation to query this parameter.

bastionhost-cn-zvp282aly06

RegionId

string

No

The region ID of the bastion host.

Note

For the mapping between region IDs and region names, see Regions and zones.

cn-hangzhou

Name

string

Yes

The project name.

project1

Description

string

No

The project description.

comment

MemberIds

string

No

The list of member account UIDs to associate with the project.

Note

You can call the ListMembersNotForProject operation to query this parameter.

161****6121

Response elements

Element

Type

Description

Example

object

Schema of Response

ProjectId

string

The project ID.

1

RequestId

string

The unique request ID generated by Alibaba Cloud for this request.

AC528ED1-C302-56E5-9CB5-ADA625D64FF9

Examples

Success response

JSON format

{
  "ProjectId": "1",
  "RequestId": "AC528ED1-C302-56E5-9CB5-ADA625D64FF9"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.