ListAuthority - 查询所有权限

更新时间: 2023-09-04 14:09:58

查询所有权限。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

POST /pop/v5/account/authority_list

请求参数

名称类型必填描述示例值
当前API无需请求参数

无请求参数。

返回参数

名称类型描述示例值
object
Codeinteger

HTTP状态码

200
Messagestring

附加信息

success
RequestIdstring

请求ID

57609587-DFA2-41EC-****-*********
AuthorityListobject []

权限列表

GroupIdstring

权限组ID

1
Namestring

权限组名称

应用管理
Descriptionstring

权限组描述

对应用的所有操作
ActionListobject []

权限集合

Codestring

权限码

1
Descriptionstring

权限描述

创建应用
GroupIdstring

权限组ID

1
Namestring

权限名称

创建应用

示例

正常返回示例

JSON格式

{
  "Code": 200,
  "Message": "success",
  "RequestId": "57609587-DFA2-41EC-****-*********",
  "AuthorityList": {
    "Authority": [
      {
        "GroupId": "1",
        "Name": "应用管理",
        "Description": "对应用的所有操作",
        "ActionList": {
          "Action": [
            {
              "Code": "1",
              "Description": "创建应用",
              "GroupId": "1",
              "Name": "创建应用"
            }
          ]
        }
      }
    ]
  }
}

JSON格式

{
  "Code": 200,
  "Message": "success",
  "RequestId": "57609587-DFA2-41EC-****-*********",
  "AuthorityList": {
    "Authority": [
      {
        "GroupId": "1",
        "Name": "应用管理",
        "Description": "对应用的所有操作",
        "ActionList": {
          "Action": [
            {
              "Code": "1",
              "Description": "创建应用",
              "GroupId": "1",
              "Name": "创建应用"
            }
          ]
        }
      }
    ]
  }
}

错误码

访问错误中心查看更多错误码。

阿里云首页 企业级分布式应用服务 EDAS 相关技术圈