Skip to main content
PUT
Update Database
string
required
The ID of the database to update.
string
If the database belongs to a workspace, the workspace’s ID.
string
The new name for the database. 1 to 50 characters.
string | null
The new description, up to 128 characters. An empty string or null clears it.
number
The new RAM in MB, a positive integer. It must fit in the plan’s free memory and respect the engine’s minimum (512 MB for Redis, 1024 MB for the others).

Response

object
The updated details of the database.

Error Responses

string
The error code indicating the reason for failure. Possible values:
  • VALIDATION_ERROR: A body or query field failed validation (400).
  • INVALID_RAM_LIMIT: The requested RAM is outside what the engine and plan allow (400).
  • MEMORY_LIMIT_EXCEEDED: The plan doesn’t have enough free memory for the new RAM (400).
  • ACCESS_DENIED: Your account can’t act on this database (403).
  • DATABASE_NOT_FOUND: The database does not exist (404).
  • OPERATION_IN_PROGRESS: Another lifecycle operation is running on this database (409).