Working with roles

The Snowflake REST Role API provides the following endpoints to manage Snowflake roles:

Snowflake REST Sessions API endpoints

Endpoint

Description

POST /api/v2/roles

Creates a role according to the specified parameters.

GET /api/v2/roles

Lists the roles available to the user’s account.

DELETE  /api/v2/roles/name

Deletes the specified role.

For reference documentation, see Snowflake Role API reference.