Domain name for API request: bi.intl.tencentcloudapi.com.
This API is used to create a project.
A maximum of 100 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CreateProject. |
| Version | Yes | String | Common Params. The value used for this API: 2022-01-05. |
| Region | No | String | Common Params. This parameter is not required. |
| Name | Yes | String | Project name. |
| ColorCode | Yes | String | Background color of the logo. |
| Logo | No | String | Project logo. |
| Mark | No | String | Remarks. |
| IsApply | No | Boolean | Whether to allow user requests. |
| DefaultPanelType | No | Integer | Default dashboard. |
| ManagePlatform | No | String | Management platform. |
| Parameter Name | Type | Description |
|---|---|---|
| ErrorInfo | ErrorInfo | Custom error information object. Note: This field may return null, indicating that no valid values can be obtained. |
| Extra | String | Extra data. |
| Data | Data | Data. |
| Msg | String | Returned information. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to create a project.
POST / HTTP/1.1
Host: bi.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateProject
<Common request parameters>
{
"Name": "Test project",
"Logo": "https://tencent.cloud.com/logo.png",
"ColorCode": "#ffffff",
"Mark": "Create project",
"IsApply": true,
"DefaultPanelType": 1
}{
"Response": {
"Extra": "1",
"Data": {
"Id": 11010
},
"Msg": "Successful",
"RequestId": "dsjasdk121kdsfjksadk"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InternalError.Internal | Internal error. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing. |
| MissingParameter.MissingParam | The required parameter is missing. |
| OperationDenied | Operation denied. |
| RequestLimitExceeded | Too many and frequent requests. |
| UnauthorizedOperation | Unauthorized operation. |
| UnauthorizedOperation.Authorize | Permission error. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | The operation is not supported. |
Feedback