Drop Database Role
snowflake.drop_database_role
ActionDatabases & warehousesconnection required
Calls the Snowflake REST / SQL API with the connection's bearer token.
Drop a database role (ifExists by default).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Snowflake
- Secret shape
- the token, or {"token": "…"}
- Config it needs
- account, warehouse, database, schema, role, token_type
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
database Database (defaults to the connection's). | string | No | — | — | — |
name Name of the database role, as snowflake.list_database_roles reports it — unquoted names match the upper-cased object. | string | Yes | — | — | — |
if_exists Tolerate a missing object (default true). | boolean | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
status | string | — |
{
"status": ""
}See Drop Database Role run in a workflow.
In a technical demo we add the Snowflake connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.