获取项目详情
名称 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetProject | 要执行的操作,取值:GetProject |
Version | String | 是 | 2021-08-01 | API的版本,取值:2021-08-01 |
ProjectName | String | 是 | project | 项目名称 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
AccountID | Integer | 2000000000 | 账号ID |
ProjectName | String | project | 项目名称 |
ParentProjectName | String | parentproject | 父项目名称 |
Path | String | /project/ | 项目路径 |
DisplayName | String | display | 展示名 |
Description | String | description | 描述 |
CreateDate | String | 20210826T120135Z | 创建时间 |
UpdateDate | String | 20211231T063223Z | 创建时间 |
Status | String | active | 状态 |
http://iam.volcengineapi.com/?Action=GetProject &Version=2021-08-01 &ProjectName=project-name
{ "ResponseMetadata": { "RequestId": "20230131184751121C0F01A86439D7E010", "Action": "GetProject", "Version": "2021-08-01", "Service": "iam", "Region": "cn-north-1" }, "Result": { "AccountID": 2100245449, "ProjectName": "project-name", "ParentProjectName": "parent", "Path": "/project-name/", "DisplayName": "display-name", "Description": "demo", "CreateDate": "20230131T093139Z", "UpdateDate": "20230131T094837Z", "Status": "active" } }
您可访问公共错误码,获取详细信息。