接口请求域名: organization.intl.tencentcloudapi.com 。
本接口(DescribePolicyConfig)可用于查询企业组织策略配置
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribePolicyConfig。 |
| Version | 是 | String | 公共参数,本接口取值:2021-03-31。 |
| Region | 否 | String | 公共参数,本接口不需要传递此参数。 |
| OrganizationId | 是 | Integer | 企业组织Id。可以调用DescribeOrganization获取 |
| Type | 否 | Integer | 策略类型。默认值0,取值范围:0-服务控制策略、1-标签策略 |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| Status | Integer | 开启状态。0-未开启、1-开启 |
| Type | String | 策略类型。SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
查看企业组织策略配置
POST / HTTP/1.1
Host: organization.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribePolicyConfig
<公共请求参数>
{
"OrganizationId": 80001
}
{
"Response": {
"RequestId": "20678896-12d1-11ed-a2cd-525400fed39d",
"Status": 1,
"Type": "SERVICE_CONTROL_POLICY"
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
| 错误码 | 描述 |
|---|---|
| InternalError | 内部错误。 |
| InvalidParameter | 参数错误。 |
| InvalidParameter.InterfaceNotExist | 接口不存在。 |
| InvalidParameter.OrganizationMemberNotExist | 组织成员不存在。 |
| InvalidParameter.OrganizationMemberNotManager | 该成员不是企业管理员。 |
| InvalidParameter.OrganizationNodeNotExist | 组织节点不存在。 |
| InvalidParameter.OrganizationNotExist | 企业组织不存在。 |
| MissingParameter | 缺少参数错误。 |
| ResourceNotFound.ApplyNotExist | 申请不存在。 |
| ResourceNotFound.ChangePermissionNotExist | 成员权限变更记录不存在。 |
| ResourceNotFound.EmailBindRecordNotExist | 邮箱绑定记录不存在。 |
| ResourceNotFound.InvitationNotExist | 邀请信息不存在。 |
| ResourceNotFound.MemberEventNotExist | 操作事件不存在。 |
| ResourceNotFound.MemberIdentityNotExist | 成员可授权身份不存在。 |
| ResourceNotFound.MemberNotExist | 成员不存在。 |
| ResourceNotFound.MemberOperateProcessNotExist | 成员操作审批不存在。 |
| ResourceNotFound.MemberPolicyNotExist | 组织成员策略不存在。 |
| ResourceNotFound.NodeNotExist | 企业组织单元不存在。 |
| ResourceNotFound.NotFound | 资源不存在。 |
| ResourceNotFound.OrganizationAuthRelationNotExist | 认证主体不存在。 |
| ResourceNotFound.OrganizationIdentityNotExist | 组织身份不存在。 |
| ResourceNotFound.OrganizationMemberNotExist | 组织成员不存在。 |
| ResourceNotFound.OrganizationNodeNotExist | 组织节点不在。 |
| ResourceNotFound.OrganizationNotExist | 企业组织不存在。 |
| ResourceNotFound.OrganizationServiceAssignNotExist | 集团服务委派不存在。 |
| ResourceNotFound.OrganizationServiceNotExist | 集团服务不存在。 |
| ResourceNotFound.PolicyIdNotFound | 策略不存在。 |
| ResourceNotFound.PolicyNotExist | 策略不存在。 |
| ResourceNotFound.ResourceTypeNotExist | 可共享资源类型不存在。 |
| ResourceNotFound.ServiceRoleNotExist | 组织服务角色不存在。 |
| ResourceNotFound.ShareResourceMemberNotExist | 共享资源成员信息不存在。 |
| ResourceNotFound.UserNotExist | 用户不存在。 |
文档反馈