All Products
Search
Document Center

Security Center:CreateUserSetting

Last Updated:Mar 20, 2026

Creates the risk level settings for baseline check items.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address.

112.48.16.***
InvalidWarningKeepDaysintegerNo

The number of days during which you want to retain invalid alerts.

7
AlertLevelsstringNo

The severities of alerts.

high,low

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

A1EE5AFD-0867-5F4F-9BE1-EBDD2C35****

Examples

Sample success responses

JSONformat

{
  "RequestId": "A1EE5AFD-0867-5F4F-9BE1-EBDD2C35****"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history