{ "opencollection": "1.0.0", "info": { "name": "Snowflake account user API", "version": "0.0.1" }, "items": [ { "info": { "name": "user", "type": "folder" }, "items": [ { "info": { "name": "List Users in the System.", "type": "http" }, "http": { "method": "GET", "url": "https://org-account.snowflakecomputing.com/api/v2/users" }, "docs": "Lists the users in the system." }, { "info": { "name": "Create a User", "type": "http" }, "http": { "method": "POST", "url": "https://org-account.snowflakecomputing.com/api/v2/users", "body": { "type": "json", "data": "{}" } }, "docs": "Create a user according to the parameters given" }, { "info": { "name": "Fetch Information About a User", "type": "http" }, "http": { "method": "GET", "url": "https://org-account.snowflakecomputing.com/api/v2/users/:name" }, "docs": "Fetch user information using the result of the DESCRIBE command" }, { "info": { "name": "Create a (or Alter an Existing) User.", "type": "http" }, "http": { "method": "PUT", "url": "https://org-account.snowflakecomputing.com/api/v2/users/:name", "body": { "type": "json", "data": "{}" } }, "docs": "Create a (or alter an existing) user. Even if the operation is just an alter, the full property set must be provided. Note that password is not currently altered by this operation but is supported for a newly-created object." }, { "info": { "name": "Delete a User", "type": "http" }, "http": { "method": "DELETE", "url": "https://org-account.snowflakecomputing.com/api/v2/users/:name" }, "docs": "Delete a user with the given name." }, { "info": { "name": "List All Grants to the User", "type": "http" }, "http": { "method": "GET", "url": "https://org-account.snowflakecomputing.com/api/v2/users/:name/grants" }, "docs": "List all grants to the user" }, { "info": { "name": "Grant a Role to the User", "type": "http" }, "http": { "method": "POST", "url": "https://org-account.snowflakecomputing.com/api/v2/users/:name/grants", "body": { "type": "json", "data": "{}" } }, "docs": "Grant a role to the user" }, { "info": { "name": "Revoke Grants From the User", "type": "http" }, "http": { "method": "POST", "url": "https://org-account.snowflakecomputing.com/api/v2/users/:name/grants:revoke", "body": { "type": "json", "data": "{}" } }, "docs": "Revoke grants from the user" } ] } ], "bundled": true }