Create Projects

Last updated: 2020-03-04 12:15:29

API Description

  • Domain name: account.api.qcloud.com.
  • API name: AddProject
  • API description: this API is used to create a project. Project is a virtual concept. You can create up to 100 projects under one account and manage different resources in each project.

Input Parameters

Parameter Name Required Type Description
projectName Yes String Project name containing letters and digits
projectDesc No String Project description

Output Parameters

Parameter Name Type Description
code Int Error code. 0: success; other values: failure
message String Error message
projectId Int Project ID

Samples

Input

  https://account.api.qcloud.com/v2/index.php?Action=AddProject
  &projectName=test
  &projectDesc=For testing
  &Common request parameters

Output


{
    "code": 0,
    "message": "",
    "projectId": 1002996
}