Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2024-03-28 14:41:31
You can call this operation to enable or disable the log service of an accelerated domain name.
Note:
The API request contains the specified directory /2016-09-01/log/SetDomainLogService、common request headers, and operation-specific request parameters. For more information, see the sample request.
Parameter | Required | Type | Description |
---|---|---|---|
ActionType | Yes | String | Type: start: enable; Stop: disable |
DomainIds | Yes | String | Domain name IDs that need to be enabled or disabled for the log service. Batch domain names can be enabled or disabled. Multiple domain names are separated by commas (half width) |
Granularity | Yes | String | Log storage granularity type: 60: granular storage by hour; 1440: granular storage by day |
Sample request
GET method:
GET /2016-09-01/log/GetDomainLogServiceStatus?ActionType=start?DomainIds=2D08M8V
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetDomainLogServiceStatus
x-version: 2016-09-01
POST method:
POST /2016-09-01/log/GetDomainLogServiceStatus
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetDomainLogServiceStatus
x-version: 2016-09-01
Content-Type: application/json
{
"DomainIds": "2D08M8V",
"ActionType":"start"
}
Sample response
{ "Datas": [ ] }
Pure Mode