Skip to main content

CDN Resource - Edge Cache Expiration

This setting is available in small and large resource types.

Method

URL

PUT

https://cloud.medianova.com/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

 Parameters

 Description

 Type

 Required

organization_uuid

The created organization in Medianova Cloud Panel unit ID value. Path parameter.

String

Yes

resource_uuid

The created resource in Medianova Cloud Panel unit ID value. Path parameter.

String

Yes

cache_type

This parameter takes “edge” or “origin” values.

String

Yes

edge_cache_expiry

Required when cache_type edge is sent. Edge Cache Time cannot be greater than 1 year.

Integer

No

edge_cache_unit

Required when cache_type edge is sent. The values of the Edge cache unit must be any of the; “s”, “m”, “h”, “d”, “M”.

String

No

Payload

CODE
{
    "resource_uuid": "*****-*****-****-*****",
    "cache_type": "edge"
    "edge_cache_expiry": 6,
    "edge_cache_unit": "d"
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.