Modifies the storage duration for user logs.
Operation description
QPS limit
This API is limited to 10 queries per second (QPS) per user. API calls that exceed this limit are throttled, which may interrupt your business. Plan your API calls to stay within this limit.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
vipcloudfw-cn-uqm3fz**** |
| StorageTime |
integer |
Yes |
The storage duration. Unit: days. |
180 |
| LogVersion |
integer |
No |
The log version. Valid values are 1 (one Logstore) and 2 (two Logstores). |
1 |
| SlsRegionId |
string |
No |
The ID of the SLS region. |
ap-southeast-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
337A4DBA-8A01-5E9C-99CA-84293E13**** |
Examples
Success response
JSON format
{
"RequestId": "337A4DBA-8A01-5E9C-99CA-84293E13****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.