Skip to main content

CDN Resource - Always Use HTTPs

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_https_force

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

Boolean

Yes

force_https_reverse

This parameter sent true to redirect from HTTPs to HTTP instead of redirecting from HTTP to HTTPs.

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

Boolean

No

https_force_redirect_code

The values of the status_https_force must be any of the; “301”, “302”. The https_force_redirect_code field is required when status_https_force is true.

Boolean

Yes

Payload

CODE
{
    "resource_uuid": "****-****-****-****",
    "status_https_force": true,
    "https_force_redirect_code": "301",
    "force_https_reverse": false
}
JavaScript errors detected

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

If this problem persists, please contact our support.