Skip to main content

HTTP Strict Transport Security (HSTS) Protection

This setting is available in small, large and dynamic(aksela) 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

status_hsts_protection

The values of the status_hsts_protection must be any of the; “true”, “false”.

Boolean

Yes

max_age_time

It is written in seconds.

Integer

Yes

include_sub_domains

The values of the include_sub_domains must be any of the; “true”, “false”.

Boolean

Yes

preload

The values of the preload must be any of the; “true”, “false”.

Boolean

Yes

Payload

CODE
{
    "resource_uuid": "****-****-*****-****",
    "status_hsts_protection": true,
    "max_age_time": "7776000",
    "include_sub_domains": true,
    "preload": true
}
JavaScript errors detected

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

If this problem persists, please contact our support.