Create Project

Last updated: 2018-09-30 12:02:06

1. API Description

This API (AddProject) is used to add a project. The project is a virtual concept. A user can create multiple projects under an account, with different resources managed in each project.

Domain name: account.api.qcloud.com

2. Input Parameters

Parameter Name Required Type Description
projectName Yes String Name of the project to be added, which can only consist of "Chinese", "English" or "digits"
projectDesc No String projectDesc

3. Output Parameters

Parameter Name Type Description
code Int Error code, 0: Successful; other values: Failed.
message String Error message
projectId Int projectId

4. Example

Input

  https://account.api.qcloud.com/v2/index.php?Action=AddProject
  &projectName=test
  &projectDesc=Used for testing
  &Public Request Parameters

Output

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