Set who may connect to a database
set_database_accessReplace a Postgres database's allow list, at once. allowAnywhere (or an empty list) lets anyone with the password connect; otherwise only the listed IP addresses or networks (CIDR, e.g. "203.0.113.7" or "198.51.100.0/24"), plus the account's other services when allowServices is true. Anything not on the list is cut off, so check where the apps connect from first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The database's service id, from list_services | |
| allowCidrs | No | IP addresses or CIDR networks | |
| allowAnywhere | No | ||
| allowServices | No | Let the account's other hosted services connect |