Manage users

The Snowflake REST User API provides the following endpoints to manage Snowflake users:

Snowflake REST User API endpoints

EndpointDescription
POST /api/v2/usersCreates a Snowflake user.
GET /api/v2/usersLists the users in the system.
GET /api/v2/users/{name}Fetches user information using the result of the DESCRIBE command.
DELETE /api/v2/users/{name}Deletes a user with the given name.
PUT /api/v2/users/{name}Creates a new, or alters an existing, user.
GET /api/v2/users/{name}/grantsList all grants to the user.
POST /api/v2/users/{name}/grantsGrants a role to the specified user.
POST /api/v2/users/{name}/grants:revokeRevokes grants from the specified user.

For reference documentation, see Snowflake User API reference