Skip to main content
PATCH
PATCH /v1/databaseSchemas/{id}

Update a Database Schema

Update a database schema’s properties using JSON Merge Patch. You can update by ID or by fully qualified name.

Update by ID

id
string
required
UUID of the database schema to update.

Update by Name

Use PATCH /v1/databaseSchemas/name/{fqn} to update by fully qualified name.
fqn
string
required
Fully qualified name of the schema (e.g., snowflake_prod.analytics.public).

Body Parameters

Send a JSON object with the fields to update. Only provided fields are changed.
description
string
Updated description in Markdown format.
displayName
string
Updated display name.
owners
array
Updated list of owner references.
tags
array
Updated classification tags.
retentionPeriod
string
Updated retention period in ISO 8601 duration format.
domain
string
Updated domain FQN.
extension
object
Updated custom property values.
PATCH /v1/databaseSchemas/{id}

Returns

Returns the updated database schema object with the new version number.

Response

id
string
Unique identifier for the schema (UUID format).
name
string
Schema name.
fullyQualifiedName
string
Fully qualified name in format service.database.schema.
description
string
Updated description.
version
number
Incremented version number.

Error Handling