Snowflake Grant API

Number of APIs: 7

The Snowflake Grant API is a REST API that you can use to show or manage privileges that have been provided to users and roles in a Snowflake database.

Contact Support: Name: Snowflake, Inc. Email: support@snowflake.com

  1. api-v2-grants-{granteeType}-{granteeName}-{securableType}-{securableName}-privileges-{privilege}-grant-option - Revoke the grant option for the specified privilege on the named securable from the named grantee. DELETE {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:securableType/:securableName/privileges/:privilege/grant-option?deleteMode=<string>

  2. api-v2-grants-{granteeType}-{granteeName}-{securableType}-{securableName}-privileges-{privilege} - Revoke the specified privilege on the named securable from the named grantee. DELETE {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:securableType/:securableName/privileges/:privilege?deleteMode=<string>

  3. api-v2-grants-{granteeType}-{granteeName}-{securableType}-{securableName}-privileges - Grant the specified privilege(s) on the named securable to the named grantee. POST {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:securableType/:securableName/privileges

  4. api-v2-grants-{granteeType}-{granteeName}-{bulkGrantType}-{securableTypePlural}-{scopeType}-{scopeName}-privileges - Grant the specified privilege(s) on all/future (as specified by bulkGrantType) securables of this type in a given scope to the named grantee. POST {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:bulkGrantType/:securableTypePlural/:scopeType/:scopeName/privileges

  5. api-v2-grants-{granteeType}-{granteeName} - List of privileges associated with this grantee type and name GET {{baseUrl}}/api/v2/grants/:granteeType/:granteeName?showLimit=<integer>

  6. api-v2-grants-{granteeType}-{granteeName}-{bulkGrantType}-{securableTypePlural}-{scopeType}-{scopeName}-privileges-{privilege}-grant-option - Revoke the grant option for the specified privilege on the specified all/future securable in the given scope from the named grantee. DELETE {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:bulkGrantType/:securableTypePlural/:scopeType/:scopeName/privileges/:privilege/grant-option?deleteMode=<string>

  7. api-v2-grants-{granteeType}-{granteeName}-{bulkGrantType}-{securableTypePlural}-{scopeType}-{scopeName}-privileges-{privilege} - Revoke the specified privilege on the specified all/future securable in the given scope from the named grantee. DELETE {{baseUrl}}/api/v2/grants/:granteeType/:granteeName/:bulkGrantType/:securableTypePlural/:scopeType/:scopeName/privileges/:privilege?deleteMode=<string>