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:
{
"ssl_status": true,
"ssl_type": "sni",
"ssl_uuid": "***-*****-****-*****-*****",
"dns_configuration": "GeoIP",
"server_group_name_id": ***
}
Payload 2:
{
"ssl_status": true,
"ssl_type": "shared_ssl"
}
Payload 3:
{
"ssl_status": true,
"ssl_type": "custom_sni",
"ssl_uuid": "****-****-*****-****",
"custom_sni_id": **,
"dns_configuration": "GeoIP",
"server_group_name_id": ***
}
Payload 4:
{
"ssl_status": false
}
Payload 5:
{
"ssl_status": true,
"ssl_type": "sni",
"ssl_uuid": "****-*****-*****-****",
"dns_configuration": "CNAME"
}