删除授权记录
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteUserProvisioningEvent | 要执行的操作,取值:DeleteUserProvisioningEvent。 |
Version | String | 是 | 2023-01-01 | API的版本,取值:2023-01-01。 |
UserProvisioningEventId | String | 是 | 1 | 失败授权记录ID |
本接口无特有的返回参数。更多信息请见返回结构。
POST /?Action=DeleteUserProvisioningEvent&Version=2023-01-01 HTTP/1.1 Host: https://open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20250310T092607Z 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 { "UserProvisioningEventId": "YPMJ0d" }
{ "ResponseMetadata": { "RequestId": "20250310172611163207166172207CC4", "Action": "DeleteUserProvisioningEvent", "Version": "2023-01-01", "Service": "cloudidentity", "Region": "cn-beijing" }, "Result": {} }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | ConcurrentException | 存在请求并发冲突 |
400 | ParamMissing | 参数缺省 |
400 | ServiceStatusException | 企业身份中心实例不可用 |
400 | PermissionError | 没有接口权限 |
400 | UserProvisionStatusException | 用户授权任务处于 [%s] 状态,不可调用 [%s] 方来操作 |
400 | UserProvisionEventStatusException | 用户授权记录状态为 %s 不可通过方法 %s 进行操作 |
404 | UserProvisionNotFound | 用户授权任务不存在 |
404 | UserProvisionEventNotFound | 授权记录不存在 |
500 | InternalError | 服务内部错误 |