Operation description
Sets a low-balance alert rule for a user's quota.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bss:SetResellerUserAlarmThreshold | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
AlarmType | string | Yes | The alert type. The value quota_low_balance indicates a low-balance alert for a quota. | quota_low_balance |
AlarmThresholds | string | No | A list of alert rules for the specified alert type. If you do not specify this parameter, no alert threshold is set. | [{\"denominator\":100,\"numerator\":30,\"thresholdType\":1}] |
Response elements
Parameter | Type | Description | Example |
object | |||
Code | string | The error code that is returned if the call fails. For more information, see Error codes. | 200 |
Message | string | The message returned for the call. | Successful! |
Data | boolean | Indicates whether the operation was successful. | true |
RequestId | string | The ID of the request. | 79EE7556-0CFD-44EB-9CD6-B3B526E3A85F |
Success | boolean | Indicates whether the call was successful. | true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Successful!",
"Data": true,
"RequestId": "79EE7556-0CFD-44EB-9CD6-B3B526E3A85F",
"Success": true
}Error codes
HTTP status code | Error code | Error message | Description |
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 | |
500 | CreditInnerError | This interface has some error. Please try again. | |
500 | UndefinedError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.