SetResellerUserStatus - 设置托管、冻结状态
开启或关闭用户sql审计功能
接口说明
根据上传参数设置托管、冻结状态。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
bss:SetResellerUserStatus |
update |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
Status |
string |
是 |
需要设置的用户状态 取值: Freeze:用户冻结状态 Thaw:用户解冻状态 Trusteeship:用户托管状态 TrusteeshipCancel:用户非托管状态 |
Freeze |
BusinessType |
string |
是 |
业务类型 取值: FREEZE:用户冻结业务 TRUSTEESHIP:用户托管业务 |
FREEZE |
StopMode |
string |
否 |
停机模式 取值: 0:普通停机 1:立即停机 |
0 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
Code |
string |
调用失败时,返回的错误码。更多信息,请参见错误码。 |
200 |
Message |
string |
调用结果的附加信息。 |
Successful! |
Data |
boolean |
是否成功 |
true |
RequestId |
string |
请求 ID。 |
F5B803CF-94D8-43AF-ADB3-D819AAD30E27 |
Success |
boolean |
success=true 代表调用执行完成。success=false 代表执行出现错误。 |
true |
示例
正常返回示例
JSON
格式
{
"Code": "200",
"Message": "Successful!",
"Data": true,
"RequestId": "F5B803CF-94D8-43AF-ADB3-D819AAD30E27",
"Success": true
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
200 | -116 | Fail to modify Enduser status, Quota is less than 0. | |
400 | NotApplicable | This API is not applicable for caller. | |
400 | NotAuthorized | This API is not authorized for caller. | |
400 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
400 | ParameterError | Missing the must parameter. | |
400 | SYSTEM_ERROR | The request processing has failed due to some unknown error. | |
400 | CreditInnerError | This interface has some error. Please try again. | |
500 | UndefinedError | The request processing has failed due to some unknown error. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。