All Products
Search
Document Center

PolarDB:ModifyMem0SecurityIps

Last Updated:Sep 10, 2026

Modifies the whitelist of a memory engine.

Operation description


Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

DBInstanceName

string

Yes

The instance ID.

pxc-*********

SecurityIPList

string

Yes

The IP addresses in the whitelist group. Separate multiple IP addresses with commas (,).

127.0.0.1,192.168.0.0

GroupName

string

No

The name of the whitelist group of the instance.

default

ModifyMode

string

No

The modification mode of the whitelist. Valid values:

  • 0: overwrites the whitelist group.

  • 1: adds a whitelist group.

  • 2: deletes a whitelist group.

1

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

B87E2AB3-B7C9-4394-9160-7F639F732031

Data

object

The data structure.

TaskId

integer

The task ID.

2209883

AccessDeniedDetail

object

The details about the access denial.

AuthAction

string

The API operation name.

xxx

AuthPrincipalType

string

The type of identity used for authentication in the request. Valid values:

  • SubUser: RAM user.

  • AssumedRoleUser: RAM role.

  • Federated: SSO federated identity.

222

AuthPrincipalOwnerId

string

The ID of the Alibaba Cloud account to which the identity used for authentication belongs.

111

AuthPrincipalDisplayName

string

The identity used for authentication in the request.

xxx

PolicyType

string

The policy type.

PRIORITY

NoPermissionType

string

The type of the permission denial. Valid values:

  • ImplicitDeny: The resource owner has not granted the required permissions to the current user. Unauthorized operations are denied by default.

  • ExplicitDeny: The RAM policy configured by the resource owner explicitly denies the current user access to the corresponding resource.

ImplicitDeny

EncodedDiagnosticMessage

string

The encrypted complete diagnostic information.

AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg==

Examples

Success response

JSON format

{
  "RequestId": "B87E2AB3-B7C9-4394-9160-7F639F732031",
  "Data": {
    "TaskId": 2209883
  },
  "AccessDeniedDetail": {
    "AuthAction": "xxx",
    "AuthPrincipalType": "222",
    "AuthPrincipalOwnerId": "111",
    "AuthPrincipalDisplayName": "xxx",
    "PolicyType": "PRIORITY",
    "NoPermissionType": "ImplicitDeny",
    "EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.