CreateProject
In this article:
CreateProject#
Description#
Creates a new IAM project.
Request Parameters#
DisplayName — The displayed name of the project.
Type: String
Required: Yes
ProjectName — The name of the project.
Type: String
Required: Yes
Response Elements#
Project — New project details.
Type: Project object
Examples#
Request
https://iam.k2.cloud/?Action=CreateProject
&ProjectName=project-1
&DisplayName=Project #1
Response
<CreateProjectResponse>
<CreateProjectResult>
<Project>
<ProjectArn>arn:c2:iam::c2dev:project/project-1</ProjectArn>
<ProjectId>30ad3cc4-b68d-4882-8ad6-cf01ef1774c2</ProjectId>
<ProjectName>project-1</ProjectName>
<State>available</State>
<DisplayName>Project #1</DisplayName>
<CreateDate>1724417128</CreateDate>
<S3Email>project-1@c2dev</S3Email>
</Project>
</CreateProjectResult>
<requestId>17a074d9-e096-40b0-af78-b9f006b82e2e</requestId>
<ResponseMetadata>
<RequestId>17a074d9-e096-40b0-af78-b9f006b82e2e</RequestId>
</ResponseMetadata>
</CreateProjectResponse>
c2-iam CreateProject ProjectName project-1 DisplayName "Project #1"