SetResellerUserQuota
Updated at:
Copy as MD
You can call the SetResellerUserQuota operation to set the quota for a user's quota ledger.
Debugging
You can go to API Explorer to debug this operation online. API Explorer simplifies the use of cloud APIs by providing features such as online API calls, dynamic SDK example code generation, and quick interface retrieval.
Request parameters
| Name | Type | Required | Example | Description |
| OwnerId | Long | Yes | 239****111 | The Alibaba Cloud UID. |
| Amount | String | Yes | 100000 | The quota amount. |
| Currency | String | No | CNY | The currency. |
| OutBizId | String | No | 201****444 | The external business transaction ID. |
Response parameters
| Name | Type | Example | Description |
| RequestId | String | 323232 | The request ID. |
| Code | String | 200 | The return code. |
| Message | String | successful | Response |
| Success | Boolean | true | Indicates whether the request was successful. Valid values:
|
| Data | Boolean | true | Indicates whether the setting was successful. Valid values:
|
Request example
https://business.aliyuncs.com/?Action=SetResellerUserQuota
&OwnerId=239****111
&Amount=100000
&Currency=CNY
Response example
{
"RequestId":"323232",
"Code":"200",
"Message":"successful",
"Success":true,
"Data":true
}
Error codes
| HttpCode | Error code | Error message | Description |
| 500 | CreditInnerError | This interface has some error. Please try again. | An interface error occurred. Please retry. |
| 400 | NotApplicable | This API is not applicable for caller. | The API is not applicable to the caller. |
| 400 | NotAuthorized | This API is not authorized for caller. | The caller is not authorized. |
| 400 | InternalError | The request processing has failed due to some unknown error, exception or failure. | The request failed due to an unknown error or exception. |
| 400 | ParameterError | Missing the must parameter. | A required parameter is missing. |
| 500 | UndefinedError | The request processing has failed due to some unknown error. | The request failed due to an unknown error. |
Is this page helpful?