All Products
Search
Document Center

AnalyticDB:ModifyAIServiceSecurityIps

Last Updated:Mar 19, 2026

Modifies the IP address whitelist for an AI service.

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

DBInstanceId

string

Yes

The ID of the instance.

Note

To view details of all instances in a destination region, including their IDs, call the DescribeDBInstances operation.

gp-xxxxxxxxx

Type

string

Yes

The service type. Only drama is supported.

drama

ServiceId

string

Yes

The ID of the service.

drama-123456

SecurityIPList

string

Yes

A comma-separated list of IP addresses or CIDR blocks in the IP address whitelist group. You can specify up to 1000 entries. To block all external IP addresses, set this parameter to 127.0.0.1. Valid formats include the following:

  • 10.23.12.24 (an IPv4 address)

  • 10.23.12.24/24 (a CIDR block. The number after the slash indicates the prefix length and must be between 1 and 32.)

127.0.0.1

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

ABB39CC3-4488-4857-905D-2E4A051D0521

Examples

Success response

JSON format

{
  "RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.