Creates a project.
Operation description
Creates a project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dhs:CreateProject |
create |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. |
test_project |
| Comment |
string |
Yes |
The description of the workspace. |
test_comment |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2025112610124322c53d0b028e7fa9 |
| Success |
boolean |
Indicates whether the request was successful. |
True |
| ProjectName |
string |
The project name. |
test_project |
Examples
Success response
JSON format
{
"RequestId": "2025112610124322c53d0b028e7fa9",
"Success": true,
"ProjectName": "test_project"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Error:%s. | The parameter entered is illegal |
| 400 | MissingParameter | Error:%s. | Missing required parameters |
| 400 | ResourceAlreadyExist | Error:%s. | Resource already exists |
| 500 | InternalServerError | Error:%s. | Server error, server unavailable or unexpected error occurred |
| 403 | NoPermission | Error:%s. | You are not authorized to perform this operation. |
| 403 | OperationDenied | Error:%s. | Operation denied |
| 404 | ResourceNotFound | Error:%s. | Resource does not exist |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.