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

Update a Stored Procedure

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

Update by ID

string
required
UUID of the stored procedure to update.

Update by Name

Use PATCH /v1/storedProcedures/name/{fqn} to update by fully qualified name.
string
required
Fully qualified name of the stored procedure (e.g., snowflake_prod.analytics.public.usp_refresh_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.
object
Updated source code and language.
array
Updated list of owner references.
array
Updated classification tags.
string
Updated domain FQN.
object
Updated custom property values.
PATCH /v1/storedProcedures/{id}

Returns

Returns the updated stored procedure object with the new version number.

Response

string
Unique identifier for the stored procedure (UUID format).
string
Stored procedure name.
string
Fully qualified name in format service.database.schema.storedProcedure.
string
Updated description.
number
Incremented version number.

Error Handling