Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-03-17 10:53:35
You can call this operation to enable or disable a domain name.
Notes:
The API request contains the specified directory /2016-09-01/domain/StartStopCdnDomain, common request headers, and operation-specific request parameters. For more information, see the sample request.
Parameter | Required | Type | Description |
---|---|---|---|
ActionType | Yes | String | The type of the operation. Valid values: start and stop. |
DomainId | Yes | String | The ID of the domain name to be enabled or disabled. You can specify only one ID at a time. |
Sample request
GET method:
GET /2016-09-01/domain/StartStopCdnDomain?ActionType=stop&DomainId=xxxxxx 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: StartStopCdnDomain
x-version: 2016-09-01
POST method:
POST /2016-09-01/domain/StartStopCdnDomain 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: StartStopCdnDomain
x-version: 2016-09-01
Content-Type: application/x-www-form-urlencoded
ActionType=stop&DomainId=xxxxxx
Pure Mode