Found 0 result in total

Content is empty
If you don't find the content you expect, please try another search term
Content Delivery Network (CDN)
API Documentation
Domain Detailed Configuration
SetBackOriginHostConfig
Last updated:2021-03-17 10:55:58
You can call this operation to configure a back-to-origin host.
Note:
The API request contains the specified directory /2016-09-01/domain/SetBackOriginHostConfig, common request headers, and operation-specific request parameters. For more information, see the sample request.
| Parameter | Required | Type | Description |
|---|---|---|---|
| DomainId | Yes | String | The ID of the domain name. |
| BackOriginHost | Yes | String | The custom back-to-origin domain name, which is empty by default. In this case, the back-to-origin host is not modified. |
Sample request
GET method:
GET /2016-09-01/domain/SetBackOriginHostConfig?DomainId=2D08M8V&BackOriginHost=www.test.com
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: SetBackOriginHostConfig
x-version: 2016-09-01
POST method:
POST /2016-09-01/domain/SetBackOriginHostConfig
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: SetBackOriginHostConfig
x-version: 2016-09-01
Content-Type: application/json
{
"DomainId": "2D08M8V",
"BackOriginHost":"www.test.com"
}
Sample response
Pure Mode