Skip to main content

grant_options

Creates, updates, deletes, gets or lists a grant_options resource.

Overview

Namegrant_options
TypeResource
Idsnowflake.grant.grant_options

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
revoke_group_privilege_grant_optionDELETEbulkGrantType, granteeName, granteeType, privilege, scopeName, scopeType, securableTypePlural, endpointEndpoint to indicate that the grant option for the privilege listed on the group securable in the given scope should be revoked.
revoke_privilege_grant_optionDELETEgranteeName, granteeType, privilege, securableName, securableType, endpointEndpoint to indicate that the grant option for the privilege listed in the path should be revoked.

DELETE example

Deletes the specified grant_options resource.

/*+ delete */
DELETE FROM snowflake.grant.grant_options
WHERE granteeName = '{{ granteeName }}'
AND granteeType = '{{ granteeType }}'
AND privilege = '{{ privilege }}'
AND securableName = '{{ securableName }}'
AND securableType = '{{ securableType }}'
AND endpoint = '{{ endpoint }}';