All Products
Search
Document Center

Data Management:UpdateStandardGroup

Last Updated:Oct 21, 2024

Modifies the name and description of a specific security rule set.

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
GroupIdlongYes

The security rule set ID. You can call the ListStandardGroups operation to obtain the ID of the security rule set.

242***
GroupNamestringYes

The name of the security rule set.

poc_test
DescriptionstringYes

The description of the security rule set.

Production Environment test rules
TidlongNo

The tenant ID.

Note To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.
23****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID. You can use the request ID to locate logs and troubleshoot issues.

4E1D2B4D-3E53-4ABC-999D-1D2520B3471A
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
ErrorMessagestring

The error message returned if the request failed.

UnknownError
ErrorCodestring

The error code returned if the request failed.

UnknownError
StandardGroupobject

The information about the security rule set.

GroupNamestring

The name of the security rule set.

poc_test
Descriptionstring

The description of the security rule set.

Production Environment test rules
DbTypestring

The type of the database for which the security rules are used.

mysql
LastMenderIdlong

The ID of the user who last modified the security rules.

51****
GroupModestring

The control mode. Valid values:

  • NONE_CONTROL: Flexible Management
  • STABLE: Stable Change
  • COMMON: Security Collaboration
COMMON
GroupIdlong

The security rule set ID.

41****

Examples

Sample success responses

JSONformat

{
  "RequestId": "4E1D2B4D-3E53-4ABC-999D-1D2520B3471A",
  "Success": true,
  "ErrorMessage": "UnknownError",
  "ErrorCode": "UnknownError",
  "StandardGroup": {
    "GroupName": "poc_test",
    "Description": "Production Environment test rules",
    "DbType": "mysql",
    "LastMenderId": 0,
    "GroupMode": "COMMON",
    "GroupId": 0
  }
}

Error codes

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