Last Updated: Mar 29, 2018


Modify file expiration settings.

Request parameters

Parameters Type Required Example values Description
Action String Yes ModifyFileCacheExpiredConfig

The name of this interface. Value: ModifyFileCacheExpiredConfig

CacheContent String Yes jpg,png

Filename suffixes, which are separated by commas (,).

ConfigID String Yes 905535

Configuration ID to be modified.

DomainName String Yes

Your CDN domain name.

TTL String Yes 600

Cache time configuration.
Unit: seconds

Weight String No 22

Weight of the configuration.
Value range: 1-99. A greater value indicates a higher priority.
Default value: 1

Return parameters

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

The ID of the request.


Request example

  2. &CacheContent=jpg%2Cpng
  3. &
  4. &TTL=600
  5. &Weight=50
  6. &ConfigID=905535
  7. &<public request parameter>

Normal return example

JSON format

  1. {
  2. "RequestId":"04F0F334-1335-436C-A1D7-6C044FE73368"
  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.