Origin Host Header
This setting is available for all resource types.
Method | URL |
---|---|
PUT | https://cloud.medianova.com/api/v1/cdn/{organization_uuid}/resource/{resource_id} |
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 |
origin_host_header | If you want to specify a host domain when making an origin request, please enter a domain without using http(s) such as subdomain.example.com | Object | Yes |
origin_host_header.status | The values of the origin_host_header.status must be any of the; “true”, “false”. | Boolean | Yes |
origin_host_header.header | If origin_host_header.status is true, origin_host_header.header is entered. | String | Yes |
Payload
{
"resource_uuid": "****-****-****-****",
"origin_host_header": {
"status": true,
"header": "domain.example.com"
}
}