Manage database roles¶
The Snowflake REST Database Role API provides the following endpoints to access, update, and perform certain actions on Database Role resources.
Endpoint |
Description |
---|---|
|
Lists available database roles. |
|
Creates a database role. |
|
Deletes a database role. |
|
Creates a new database role by cloning from the specified resource. |
|
Lists all grants to the role. |
|
Grants privileges to the specified role. |
|
Revokes grants from the specified role. |
|
Lists all future grants to the specfied role. |
|
Grants future privileges to the specified role. |
|
Revokes future grants from the specified role |
For reference documentation, see Snowflake Database Role API reference.