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 role API

The role API from Snowflake — 8 operation(s) for role.

Snowflake 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 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 14 operations across 11 paths, and defines 12 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.

14 operations 11 paths 12 schemas 1 DELETE6 GET7 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 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 14

Across 11 paths, the API surfaces 14 operations — 1 DELETE, 6 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

role 14
GET
/api/v2/roles
List Roles
listRoles 4 params → 200202400401403404405408
POST
/api/v2/roles
Create a Role
createRole 1 param body → 200202400401403404405408
DELETE
/api/v2/roles/{name}
Delete a Role
deleteRole 2 params → 200202400401403404405408
GET
/api/v2/roles/{name}/grants
List All Grants to the Role
listGrants 2 params → 200202400401403404405408
POST
/api/v2/roles/{name}/grants
Grant Privileges to the Role
grantPrivileges 1 param body → 200202400401403404405408
POST
/api/v2/roles/{name}/grants:revoke
Revoke Grants From the Role
revokeGrants 2 params body → 200202400401403404405408
GET
/api/v2/roles/{name}/grants-of
List All Grants of the Role
listGrantsOf 2 params → 200202400401403404405408
GET
/api/v2/roles/{name}/grants-on
List All Grants on the Role
listGrantsOn 2 params → 200202400401403404405408
GET
/api/v2/roles/{name}/future-grants
List All Future Grants to the Role
listFutureGrants 2 params → 200202400401403404405408
POST
/api/v2/roles/{name}/future-grants
Grant Future Privileges to the Role
grantFuturePrivileges 1 param body → 200202400401403404405408
POST
/api/v2/roles/{name}/future-grants:revoke
Revoke Future Grants From the Role
revokeFutureGrants 2 params body → 200202400401403404405408
POST
/api/v2/roles/{name}:set-tags
Set tags on a role.
setTags 2 params body → 200202400401403404405408
POST
/api/v2/roles/{name}:unset-tags
Unset tags from a role.
unsetTags 2 params body → 200202400401403404405408
GET
/api/v2/roles/{name}:get-tags
Get the tag assignments for a role.
getTags 2 params → 200202400401403404405408

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are Role (10 properties), Role_2 (10 properties), GrantOn (9 properties), GrantOn_2 (9 properties). Each schema is shown below with its type and property counts.

GrantOn
object
9 properties
Securable
object
4 properties 1 required
Role
object
A Snowflake role
10 properties 1 required
Grant
object
7 properties 1 required
ContainingScope
object
2 properties 1 required
GrantOf
object
5 properties
GrantOn_2
object
9 properties
Securable_2
object
4 properties 1 required
Role_2
object
A Snowflake role
10 properties 1 required
Grant_2
object
7 properties 1 required
ContainingScope_2
object
2 properties 1 required
GrantOf_2
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

snowflake-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 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.