ListProjects
In this article:
ListProjects#
Description#
Returns the list of IAM projects.
Response Elements#
Projects — The list of projects.
Type: List of Project objects
Examples#
Request
https://iam.k2.cloud/?Action=ListProjects
Response
<ListProjectsResponse>
<ListProjectsResult>
<Projects>
<member>
<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 111</DisplayName>
<CreateDate>1724417128</CreateDate>
<S3Email>project-1@c2dev</S3Email>
</member>
<member>
<ProjectArn>arn:c2:iam::c2dev:project/project-2</ProjectArn>
<ProjectId>a4756938-e954-4f71-a396-d41ed11878c7</ProjectId>
<ProjectName>project-2</ProjectName>
<State>deleted</State>
<DisplayName>ppp №2</DisplayName>
<CreateDate>1724417326</CreateDate>
<S3Email>project-2@c2dev</S3Email>
</member>
</Projects>
</ListProjectsResult>
<requestId>f4c14912-7a92-4604-bbb1-32e065c924a2</requestId>
<ResponseMetadata>
<RequestId>f4c14912-7a92-4604-bbb1-32e065c924a2</RequestId>
</ResponseMetadata>
</ListProjectsResponse>
c2-iam ListProjects