Skip to main content
PATCH
Edit Database
string
required
The API key for your account. You can find this in your account settings.
Updates a database’s display name and/or its allocated memory without recreating the container or rotating its credentials, connection URL and port stay the same. At least one of name or ram must be present in the request body. Changing ram is applied live against the database’s cluster; it fails if the new value is invalid for the plan or engine. This does not restart the database. To check whether a memory change is reflected, see Get Database Info or Get Database Status. Rate limited to 1 update every 5 seconds per user.

Parameters

string
required
The ID of the database.
string
The name of the database. 1–32 characters — letters, numbers, underscores (_), hyphens (-) and spaces — and must include at least one letter, number or underscore.
int
The amount of RAM to allocate, in megabytes. Minimums: Redis 512 MB, MongoDB and PostgreSQL 1024 MB.

Response

string
Indicates whether the call was successful.. success if successful, error if not.

Common errors