Sets user settings, such as the storage duration and storage region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:SetStorage |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Ttl |
integer |
Yes |
The log storage duration in days. The default value is 180. The minimum value is 30 and the maximum value is 3000. |
180 |
| Region |
string |
No |
The log storage region. If the Data Management center is in cn-hangzhou, the default value of Region is cn-shanghai. If the Data Management center is in ap-southeast-1, the default value of Region is ap-southeast-1. The log storage region cannot be changed. To change the region, contact the Threat Analysis operations team. |
cn-shanghai |
| RoleType |
integer |
No |
The type of the view.
|
1 |
| RoleFor |
integer |
No |
The user ID of the member. An administrator can use this parameter to switch to the view of a specific member. |
113091674488**** |
| RegionId |
string |
No |
The region of the Data Management center for Threat Analysis. Select the region for the Data Management center based on the region of your assets. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
CloudSiemResponse |
||
| Data |
boolean |
Indicates whether the settings were saved. Valid values:
|
true |
| RequestId |
string |
The request ID. |
6276D891-58D4-55B2-87B9-74D413F7**** |
Examples
Success response
JSON format
{
"Data": true,
"RequestId": "6276D891-58D4-55B2-87B9-74D413F7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Siem.TTL.Limit | TTL should be set 30 days at least | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.