PATCH /v1/databases/{id}
Update a Database
Update database properties using JSON Patch operations (add, remove, replace) to modify metadata fields like description, owners, tags, and custom properties via the Collate REST API.
PATCH
PATCH /v1/databases/{id}
Update a Database
Update a database’s properties using JSON Merge Patch. You can update by ID or by fully qualified name.Update by ID
string
required
UUID of the database to update.
Update by Name
UsePATCH /v1/databases/name/{fqn} to update by fully qualified name.
string
required
Fully qualified name of the database (e.g.,
snowflake_prod.analytics).Body Parameters
Send a JSON object with the fields to update. Only provided fields are changed.string
Updated description in Markdown format.
string
Updated display name.
array
Updated list of owner references.
array
Updated classification tags.
string
Updated retention period in ISO 8601 duration format.
string
Updated domain FQN.
object
Updated custom property values.
PATCH /v1/databases/{id}
Returns
Returns the updated database object with the new version number.Response
string
Unique identifier for the database (UUID format).
string
Database name.
string
Fully qualified name in format
service.database.string
Updated description.
number
Incremented version number.