Skip to main content

CDN Resource - Update SSL

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

ssl_status

The parameter can take the values of either true or false. If it is true, the ssl_type parameter is mandatory.

Boolean

Yes

ssl_type

The parameter can take the values: "custom_sni", "sni", or "shared_ssl". If ssl_status is true, the parameter is required.

String

Yes

ssl_uuid

The ID of the SSL defined for the organization. If ssl_type is “ssl”, the parameter is required.

String

Yes

custom_sni_id

Mandatory when ssl_type is set to "custom_sni". It is the ID of the defined custom SNI. If ssl_type is “custom_sni”, the parameter is required.

Integer

Yes

dns_configuration

The parameter can take the values: “GeoIP”, “CNAME”, “DYNA”.

String

No

server_group_name_id

The ID of the server defined for the organization.

Integer

No

Payload 1:

CODE
{
    "ssl_status": true,
    "ssl_type": "sni",
    "ssl_uuid": "***-*****-****-*****-*****",
    "dns_configuration": "GeoIP",
    "server_group_name_id": ***
}

Payload 2:

CODE
{
    "ssl_status": true,
    "ssl_type": "shared_ssl"
}

Payload 3:

CODE
{
    "ssl_status": true,
    "ssl_type": "custom_sni",
    "ssl_uuid": "****-****-*****-****",
    "custom_sni_id": **,
    "dns_configuration": "GeoIP",
    "server_group_name_id": ***
}

Payload 4:

CODE
{
    "ssl_status": false
}

Payload 5:

CODE
{
    "ssl_status": true,
    "ssl_type": "sni",
    "ssl_uuid": "****-*****-*****-****",
    "dns_configuration": "CNAME"
}

JavaScript errors detected

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

If this problem persists, please contact our support.