To update the configuration for an existing database cluster, send a PATCH request to
/v2/databases/$DATABASE_ID/config
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
database_cluster_uuid |
string | True | A unique identifier for a database cluster. | |
body |
JSON or IO[bytes] | True |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.databases.patch_config(database_cluster_uuid="a7aba9d")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.