Billing Management(UBill)

Modify Auto-Renewal Tag for Resources - ModifyAutoRenewFlag


Modify Auto-Renewal Tag for Resources


Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ModifyAutoRenewFlag.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
FlagstringSwitch Identifier (TURN_ON: On; TURN_OFF: Off)Yes
ResourceIdstringResource IDYes

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
SuccessintNumber of Successful OperationsYes
FailintOperation Failed Resource QuantityYes
ResultSetarray[ResultSet]Switch resource auto-renewal result arrayYes

Data Model


Field NameTypeDescription InformationRequired
RetCodeintRenewal Result (0: Success, Failure Returns Error Code)No
MessagestringError Message DescriptionNo
ResourceIdstringResource IDNo


Request Example

Response Example

  "Action": "ModifyAutoRenewFlagResponse",
  "Fail": 1,
  "ResultSet": [
      "Message": "",
      "ResourceId": "HHBMiHoq1",
      "RetCode": 0
      "Message": "fYUXfpKn",
      "ResourceId": "HHBMiHoq2",
      "RetCode": 5
  "RetCode": 0,
  "Success": 1
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved
  • Contact our sales to help your business.
  • Contact our sales to help your business.