You need to enable JavaScript to run this app.
智能体身份和权限管理平台

智能体身份和权限管理平台

复制全文
用户身份管理
UpdateEnableUserPool - UpdateEnableUserPool
复制全文
UpdateEnableUserPool - UpdateEnableUserPool

启用或者停用用户池

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

UpdateEnableUserPool

要执行的操作,取值:UpdateEnableUserPool。

Version
String

2025-10-30

API的版本,取值:2025-10-30。

UserPoolUid
String

example-Uid

UserPoolUid

Enabled
String

true

enable user pool or disable userpool

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
Message
String

Updated userpool enable flag successfully

Message for operation

请求示例

POST /?Action=UpdateEnableUserPool&Version=2025-10-30 HTTP/1.1
Host: cis-control-test.ivolces.com:30190
Content-Type: application/json; charset=UTF-8
X-Date: 20251222T021436Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251222/cn-beijing/id/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "UserPoolUid": "example-Uid",
  "Enabled": "true"
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "2025122210144613719308611006AA33",
    "Action": "UpdateEnableUserPool",
    "Version": "2025-10-30",
    "Service": "id",
    "Region": "cn-beijing"
  },
  "Result": {
    "Message": "Updated userpool enable flag successfully"
  }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
InvalidParameter

Invalid request parameters: %s.

参数 %s 无效

400
InvalidParameter.{parameter}

The parameter %s is invalid.

无效参数,包括参数类型错误、长度不合法、枚举值不合法、不满足正则规则等

400
InvalidRequest

The request is invalid or malformed.

无效请求

400
MissingParameter.{parameter}

The required parameter %s is missing.

必填参数缺失错误

400
MissingAction

The request is missing an action.

请求缺少Action

400
InvalidAction

The specified action is invalid.

不合法的Action

401
SignatureNotMatch

The request signature provided is incorrect.

签名缺失或错误

403
InvalidAccessKeyId

The access key ID provided is not valid.

不合法的Access Key ld

403
AccessDenied

You are not authorized to perform this action.

请求未通过权限验证

404
NotFound

Resource not found: %s.

资源 %s 不存在

409
StatusConflict

Status conflict: %s.

状态冲突: %s

409
Duplicated

Resource already exists: %s.

资源 %s 已存在

422
ParseFailed

Failed to parse document: %s.

文档解析失败: %s

429
QuotaExceeded

Quota exceeded: %s.

配额 %s 已达上限

429
Throttling

The request is denied due to request throttling.

请求被限流

500
InternalError

Internal server error: %s.

内部服务错误: %s

500
DownstreamServerError

An error has occurred due to an unreachable service.

下游服务请求失败

501
NotImplemented

Not implemented: %s.

功能未实现: %s

502
UpstreamUnreachable

Upstream unreachable: %s.

后端服务 %s 不可达

503
ServiceUnavailable

The request has failed due to a temporary failure of the server.

服务不可用

最近更新时间:2026.01.06 17:46:01
这个页面对您有帮助吗?
有用
有用
无用
无用