Last Updated: May 09, 2018


Modifies the CDN service billing methods.

  • You must first subscribe to the service to perform this operation.

  • Changes of the billing methods take effect at 00:00 the next day. If multiple changes are performed, the latest change prevails.

  • Billing methods:

    • PayByBandwidth.

    • PayByTraffic.

Request parameters

Parameters Type Required Example values Description
Action String Yes ModifyCdnService

The name of this interface. Value: ModifyCdnService

InternetChargeType String Yes PayByTraffic

Service subscription billing method.

  • PayByTraffic
  • PayByBandwidth
Users must specify a method between PayByTraffic and PayByBandwidth.

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.


Request example

  1.<Public request parameter>

Normal return example

JSON format

  1. {
  2. "RequestId":"97C68796-EB7F-4D41-9D5B-12B909D76508"
  3. }

Exception return example

JSON format

  1. {
  2. "Code":"InternalError",
  3. "HostId":"",
  4. "Message":"The request processing has failed due to some unknown error.",
  5. "RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
  6. }

Error code

For more information, see Error code of this product.

Thank you! We've received your feedback.