Creates a security rule set.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
GroupName | string | Yes | The name of the security rule set. | test_group |
Description | string | Yes | The description of the security rule set. | test_rule |
DbType | string | Yes | The type of the database engine. For more information about the valid values of this parameter, see DbType parameter. | mysql |
Tid | long | No | The ID of the tenant. | 3000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "34E01EDD-6A16-4CF0-9541-C644D1BE01AA",
"Success": true,
"ErrorMessage": "xxx",
"ErrorCode": "403",
"StandardGroup": {
"GroupName": "test_group",
"Description": "test_rule",
"DbType": "mysql",
"LastMenderId": 0,
"GroupMode": "COMMON",
"GroupId": 0
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-26 | The response structure of the API has changed | View Change Details |