- Documentation
RDS for PostgreSQL
API reference
V2(2022-01-01)
Managing connections
ModifyDBInstanceConfig
Managing connections
ModifyDBInstanceConfig
ModifyDBInstanceConfig
Call the ModifyDBInstanceConfig API to set whether to enable the global read-only mode for the instance.
Request type
Asynchronous request.
Precautions
Enabling global read-only will set the database to read-only mode, which only supports query operations and doesn't support any update, write, delete or other update operations. Operate carefully.
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
Response parameter
null
Sample
Sample request
POST /?Action=ModifyDBInstanceConfig&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****
"InstanceId": "postgres-ca7b7019****",
Sample response
"RequestId": "2023080211144634754706651E8FD70549",
"Action": "ModifyDBInstanceConfig",
"Version": "2022-01-01",
"Service": "rds_postgresql",
Last updated: 2026.03.31 10:45:18