Create Projects

Last updated: 2020-06-08 12:36:39

    Note:

    This is a legacy API which has been hidden and will no longer be updated.

    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
    }
    

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help