PUT /?accessmonitor HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comContent-Length: lengthDate: GMT DateAuthorization: Auth StringContent-MD5: MD5
<AccessMonitorConfiguration><Status>Enabled</Status></AccessMonitorConfiguration>
Node Name (Keyword) | Parent Node | Description | Type | Required |
AccessMonitorConfiguration | None | Access tracking status configuration | Container | Yes |
Status | AccessMonitorConfiguration | Whether to enable access tracking. Supported values: Enabled, Disabled. Note: You can modify the access tracking status of a bucket to Disabled only when the bucket has no lifecycle rules based on access time. | Enum | Yes |
PUT /?accessmonitor HTTP/1.1Host: examplebucket-appid.cos.region.myqcloud.comDate: GMT DateAuthorization: SignatureValue<?xml version="1.0" encoding="UTF-8"?><AccessMonitorConfiguration><Status>Enabled</Status></AccessMonitorConfiguration>
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 0Date: GMT DateServer: tencent-cosx-cos-request-id: NTk5NDMzYTRfMjQ4OGY3Xzc3NGRf****
フィードバック