/v2/databases/{database_cluster_uuid}/firewallReplace trusted-source firewall rules for a database cluster
Replaces the trusted-source firewall rules for a database cluster. Send the rules array to specify which Droplets, Kubernetes clusters, IP addresses, tags, or apps can connect. The firewall accepts at most 100 rules and does not support IPv6 addresses; consider using a VPC network to limit database access instead.
The firewall rules to apply to the database cluster. Each rule must include type and value.
A 401 is returned when authentication credentials are invalid. A 404 is returned when the requested resource is not found; a 429 indicates that the API rate limit has been exceeded, and a 500 indicates a server error. The database_cluster_uuid path parameter must be a UUID; each rule must include type and value, and type must be one of droplet, k8s, ip_addr, tag, or app.