GetOrganization - 查询组织信息

查询组织信息。

服务接入点与授权信息

产品 资源 所需权限
基础服务 组织 只读

请求语法

GET https://{domain}/oapi/v1/platform/organizations/{id}

请求头

参数 类型 是否必填 描述 示例值
x-yunxiao-token string 个人访问令牌。 pt-0fh3****0fbG_35af****0484

请求参数

参数 类型 位置 是否必填 描述 示例值
id string path 组织 ID。

请求示例

curl -X 'GET' \
  'https://test.rdc.aliyuncs.com/oapi/v1/platform/organizations/{id}' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

返回参数

参数 类型 描述 示例值
- object
      createdAt string 创建时间。 2023-08-31T03:59:16.201Z
      creatorId string 组织创建者。 99d1**6124
      defaultRole string 默认角色。 99d1**6124
      description string 组织描述。 示例描述
      id string 组织 ID。 99d1**6124
      name string 组织名称。 示例名
      updateAt string 更新时间。 2023-08-31T03:59:16.201Z

返回示例

{
    "createdAt": "2023-08-31T03:59:16.201Z",
    "creatorId": "99d1****6124",
    "defaultRole": "99d1****6124",
    "description": "示例描述",
    "id": "99d1****6124",
    "name": "示例名",
    "updateAt": "2023-08-31T03:59:16.201Z"
}

错误码

访问错误码中心查看 API 相关错误码。

results matching ""

    No results matching ""