You need to enable JavaScript to run this app.
RDS for PostgreSQL

RDS for PostgreSQL

Copy page
Download PDF
Data security
AssociateAllowList
Copy page
Download PDF
AssociateAllowList
Call the AssociateAllowList API to associate an allowlist.​
Request type​
Asynchronous request.​
Precautions​
The system supports associating not only multiple allowlists with a single instance, but also a single allowlist with multiple instances. The system does not support associating multiple allowlists with multiple instances within a single operation.​
Usage restrictions​
  • You can associate up to 100 allowlists with one instance each time.​
  • Each instance can associate up to 100 allowlists.​
  • You can associate up to 50 instances with an allowlist at a time.​
  • Each allowlist can associate up to 1,000 instances.​
  • The total number of IP addresses or CIDR blocks in all allowlists associated with each instance cannot exceed 300.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameter​
Type​
Is it required?​
Example​
Description​
AllowListIds​
Array of String​
Yes​
["acl-2b7d64502b0a4210a24c58e739de****"]​
ID of the allowlist to associate with the instance.​
InstanceIds​
Array of String​
Yes​
["postgres-4b38053d****","postgres-5efe96ae****"]​
ID of the instance associated with an allowlist​
​
Response parameter​
null​
Sample​
Sample request​
​
POST /?Action=AssociateAllowList&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-postgresql.cn-beijing.volcengineapi.com​
X-Date: 20231002T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"AllowListIds": [​
"acl-2b7d64502b0a4210a24c58e739de****"​
],​
"InstanceIds": [​
"postgres-4b38053d****",​
"postgres-5efe96ae****"​
]​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20240423193611E80D10ED81E54EDE7E89-82c4fa",​
"Action": "AssociateAllowList",​
"Version": "2022-01-01",​
"Service": "rds_postgresql",​
"Region": "cn-guangzhou"​
},​
"Result": null​
}​
​
Last updated: 2026.03.31 10:45:19