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
{
"resource_uuid": "****-****-*****-****",
"status_hsts_protection": true,
"max_age_time": "7776000",
"include_sub_domains": true,
"preload": true
}