授权记录列表
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListUserProvisioningEvents | 要执行的操作,取值:ListUserProvisioningEvents。 |
Version | String | 是 | 2023-01-01 | API的版本,取值:2023-01-01。 |
PageNumber | Integer | 否 | 1 | 页码,默认 1 |
EventStatus | Array of String | 否 | ProvisionFailed | 授权记录状态 |
QueryString | String | 否 | name | 用户名或者用户显示名 |
PageSize | Integer | 否 | 10 | 分页大小,默认 10,[1,100] |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Total | Long | 100 | 总数 |
PageNumber | Long | 1 | 页码 |
PageSize | Integer | 10 | 分页大小 |
UserProvisioningEvent | Array of Object | [ | 用户授权记录列表 |
POST /?Action=ListUserProvisioningEvents&Version=2023-01-01 HTTP/1.1 Host: https://open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20250310T095317Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250310/cn-beijing/cloudidentity/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "EventStatus": [ "ProvisionFailed" ] }
{ "ResponseMetadata": { "RequestId": "20250310175319167126224211913E13", "Action": "ListUserProvisioningEvents", "Version": "2023-01-01", "Service": "cloudidentity", "Region": "cn-beijing" }, "Result": { "Total": 676, "PageNumber": 1, "PageSize": 506, "UserProvisioningEvent": [ { "UserProvisioningEventId": "C8f", "UserProvisioningId": "B", "UserId": "bG5tUnXXhrV", "UserName": "lPfm28j", "FailureReason": "yXoiJRrX", "TargetId": "jt7aF4", "TargetName": "5dQomC", "Description": "sM", "CreatedTime": "Ev1", "UpdatedTime": "M71R0uVR9c", "PrincipalType": "User", "EventStatus": "ProvisionFailed" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | ConcurrentException | 存在请求并发冲突 |
400 | ParamMissing | 参数缺省 |
400 | ServiceStatusException | 企业身份中心实例不可用 |
400 | PermissionError | 没有接口权限 |
500 | InternalError | 服务内部错误 |