How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Snowflake database-role API

The database-role API from Snowflake — 7 operation(s) for database-role.

Snowflake database-role API is one of 49 APIs that Snowflake publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include database-role. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 13 operations across 10 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 0.0.1.

Requests are made against a single base URL, https://org-account.snowflakecomputing.com.

13 operations 10 paths 10 schemas 1 DELETE4 GET8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.0.1
Base URL
https://org-account.snowflakecomputing.com
Authentication
custom, custom, custom, custom
Resource Areas
1

Authentication & Security 4

Snowflake database-role API declares 4 security schemes for authenticating requests. It defines a custom scheme (KeyPair). It defines a custom scheme (ExternalOAuth). It defines a custom scheme (SnowflakeOAuth). It defines a custom scheme (ProgrammaticAccessToken).

Paths & Operations 13

Across 10 paths, the API surfaces 13 operations — 1 DELETE, 4 GET, 8 POST. Each is listed below with its method, path, parameters, and response codes.

database-role 13
GET
/api/v2/databases/{database}/database-roles
List Database Roles
listDatabaseRoles 3 params → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles
Create a Database Role
createDatabaseRole 2 params body → 200202400401403404405408
DELETE
/api/v2/databases/{database}/database-roles/{name}
Delete a Database Role
deleteDatabaseRole 3 params → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}:clone
Create a New Database Role by Cloning From the Specified Resource
cloneDatabaseRole 4 params body → 200202400401403404405408
GET
/api/v2/databases/{database}/database-roles/{name}/grants
List All Grants to the Role
listGrants 3 params → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}/grants
Grant Privileges to the Role
grantPrivileges 2 params body → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}/grants:revoke
Revoke Grants From the Role
revokeGrants 3 params body → 200202400401403404405408
GET
/api/v2/databases/{database}/database-roles/{name}/future-grants
List All Future Grants to the Role
listFutureGrants 3 params → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}/future-grants
Grant Future Privileges to the Role
grantFuturePrivileges 2 params body → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}/future-grants:revoke
Revoke Future Grants From the Role
revokeFutureGrants 3 params body → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}:set-tags
Set tags on a database role.
setTags 3 params body → 200202400401403404405408
POST
/api/v2/databases/{database}/database-roles/{name}:unset-tags
Unset tags from a database role.
unsetTags 3 params body → 200202400401403404405408
GET
/api/v2/databases/{database}/database-roles/{name}:get-tags
Get the tag assignments for a database role.
getTags 3 params → 200202400401403404405408

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are DatabaseRole_2 (8 properties), DatabaseRole (8 properties), Grant (7 properties), Grant_2 (7 properties). Each schema is shown below with its type and property counts.

Securable
object
4 properties 1 required
DatabaseRoleClone
object
1 property 1 required
Grant
object
7 properties 1 required
DatabaseRole
object
A Snowflake database role
8 properties 1 required
ContainingScope
object
2 properties 1 required
Securable_2
object
4 properties 1 required
DatabaseRoleClone_2
object
1 property 1 required
Grant_2
object
7 properties 1 required
DatabaseRole_2
object
A Snowflake database role
8 properties 1 required
ContainingScope_2
object
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

snowflake-database-role-api-openapi.yml Raw ↑

Other APIs Snowflake publishes across the network.

Snowflake Artifact Repository API
Cortex Embed API
Snowflake Network Rule API
Snowflake Password Policy API
Snowflake Secret API
Snowflake Sequence API
Snowflake Spark Connect API
Snowflake Streamlit API
Snowflake Tag API
Cortex Agents API
Snowpipe REST API
Snowflake account API
Where this information came from

This is an independent, third-party profile of Snowflake database-role API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.