<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – REVOKE statements</title>
    <link>/en/sql-reference/statements/revoke-statements/</link>
    <description>Recent content in REVOKE statements on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/statements/revoke-statements/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: REVOKE (authentication)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-authentication/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-authentication/</guid>
      <description>
        
        
        &lt;p&gt;Revokes privileges on an authentication method from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE AUTHENTICATION &lt;span class=&#34;code-variable&#34;&gt;auth‑method‑name&lt;/span&gt; FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;auth‑method‑name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the target authentication method.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Revoke &lt;code&gt;v_ldap&lt;/code&gt; authentication from user &lt;code&gt;jsmith&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE AUTHENTICATION v_ldap FROM jsmith;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Revoke &lt;code&gt;v_gss&lt;/code&gt; authentication from the role &lt;code&gt;DBprogrammer&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE AUTHENTICATION v_gss FROM DBprogrammer;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Revoke &lt;code&gt;localpwd&lt;/code&gt; as the default client authentication method:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE AUTHENTICATION localpwd FROM PUBLIC;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-authentication/&#34;&gt;ALTER AUTHENTICATION&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-authentication/&#34;&gt;CREATE AUTHENTICATION&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-authentication/&#34;&gt;DROP AUTHENTICATION&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-authentication/&#34;&gt;GRANT (authentication)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (database)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-db/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-db/</guid>
      <description>
        
        
        &lt;p&gt;Revokes database privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] }
   ON DATABASE &lt;span class=&#34;code-variable&#34;&gt;db‑spec&lt;/span&gt;
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The database privilege to revoke, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;CREATE&lt;/code&gt;: Create schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TEMP&lt;/code&gt;: Create temporary tables.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all database privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; is supported to comply with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ON DATABASE &lt;/code&gt;&lt;em&gt;&lt;code&gt;db‑spec&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies the current database, set to the database name or &lt;code&gt;DEFAULT&lt;/code&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;*`grantee`*&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke user &lt;code&gt;Fred&lt;/code&gt;&#39;s privilege to create schemas in the current database:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE CREATE ON DATABASE DEFAULT FROM Fred;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Revoke user &lt;code&gt;Fred&lt;/code&gt;&#39;s privilege to create temporary tables in the current database:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE TEMP ON DATABASE DEFAULT FROM Fred;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-db/&#34;&gt;GRANT (database)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (key)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-key/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-key/</guid>
      <description>
        
        
        &lt;p&gt;Revokes privileges on a cryptographic key from a user or role.&lt;/p&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Because certificates depend on their underlying key, DROP privileges on a key effectively act as DROP privileges on its associated certificate when used with &lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-key/&#34;&gt;DROP KEY...CASCADE&lt;/a&gt;.
&lt;/div&gt;

&lt;p&gt;To grant privileges on a key, see &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-key/&#34;&gt;GRANT (key)&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] } ON KEY
    &lt;span class=&#34;code-variable&#34;&gt;key_name&lt;/span&gt;[,...]
    FROM &lt;span class=&#34;code-variable&#34;&gt;user&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;`GRANT OPTION FOR`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;A privilege, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;USAGE: Allows a user to perform the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/cryptographic-keys/&#34;&gt;View&lt;/a&gt; the contents of the key.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-certificate/&#34;&gt;Create or sign&lt;/a&gt; certificates using the key.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;USAGE on the key also gives implicit USAGE privileges on a certificate that uses it as its private key. Users can also get these privileges from ownership of the key or certificate. USAGE privileges on a certificate allow a user to perform the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/certificates/&#34;&gt;View&lt;/a&gt; the contents of the certificate.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add (with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-tls-config/&#34;&gt;CREATE&lt;/a&gt; or &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-tls-config/&#34;&gt;ALTER&lt;/a&gt;) the certificate to a TLS Configuration.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reuse the CA certificate when importing certificates signed by it. For example, if a user imports a chain of certificates &lt;code&gt;A &amp;gt; B &amp;gt; C&lt;/code&gt; and have USAGE on &lt;code&gt;B&lt;/code&gt;, the database reuses &lt;code&gt;B&lt;/code&gt; (as opposed to creating a duplicate of &lt;code&gt;B&lt;/code&gt;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify that the CA certificate signed an imported certificate. For example, if certificate &lt;code&gt;B&lt;/code&gt; signed certificate &lt;code&gt;C&lt;/code&gt;, USAGE on &lt;code&gt;B&lt;/code&gt; allows a user to import &lt;code&gt;C&lt;/code&gt; and specify that it was &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-certificate/&#34;&gt;SIGNED BY&lt;/a&gt; &lt;code&gt;B&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-key/&#34;&gt;DROP&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER: Allows a user to see the &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/cryptographic-keys/&#34;&gt;key&lt;/a&gt; and its associated &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/certificates/&#34;&gt;certificates&lt;/a&gt; in their respective system tables, but not their contents.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;key_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The target &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-key/&#34;&gt;key&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;user&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies who is granted privileges, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;span class=&#34;code-variable&#34;&gt;[user‑name](/en/admin/db-users-and-privileges/db-users/)&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span class=&#34;code-variable&#34;&gt;[role](/en/admin/db-users-and-privileges/db-roles/)&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: Default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Privileges grantee given the option (&lt;code&gt;WITH GRANT OPTION&lt;/code&gt;) of granting privileges to other users or roles.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example revokes DROP privileges on a key (and, by extension, its associated certificate) from a user:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE USAGE ON KEY new_key FROM u1;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (library)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-library/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-library/</guid>
      <description>
        
        
        &lt;p&gt;Revokes library privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { USAGE | ALL [ PRIVILEGES ] }
   ON LIBRARY [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;library&lt;/span&gt;[,...]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;USAGE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes access to the specified libraries.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Privileges on functions in these libraries must be separately revoked.
&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all library privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack. The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;library&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;The target library.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;These commands show how to create a new library, and then grant and revoke user &lt;code&gt;Fred&lt;/code&gt;&#39;s USAGE privilege on that library.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE LIBRARY MyFunctions AS &amp;#39;home/dbadmin/my_functions.so&amp;#39;;
=&amp;gt; GRANT USAGE ON LIBRARY MyFunctions TO Fred;
=&amp;gt; REVOKE USAGE ON LIBRARY MyFunctions FROM Fred;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-library/&#34;&gt;GRANT (library)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (model)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-model/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-model/</guid>
      <description>
        
        
        &lt;p&gt;Revokes model privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { privilege[,...] | ALL [ PRIVILEGES ] }
   ON MODEL [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;model‑name&lt;/span&gt; [,...]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;USAGE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;One of the following privileges:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;USAGE: Usage of the specified models&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-model/&#34;&gt;ALTER&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-model/&#34;&gt;DROP&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all model privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;model‑name&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;Name of the target model.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke user &lt;code&gt;Fred&lt;/code&gt;&#39;s USAGE privilege on model &lt;code&gt;mySvmClassModel&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE USAGE ON mySvmClassModel FROM Fred;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-model/&#34;&gt;GRANT (model)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/data-analysis/ml-predictive-analytics/model-management/managing-model-security/&#34;&gt;Managing model security&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (procedure)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-procedure/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-procedure/</guid>
      <description>
        
        
        &lt;p&gt;Revokes procedure privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { EXECUTE | ALL PRIVILEGES }
   ON PROCEDURE [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;procedure&lt;/span&gt;( [&lt;span class=&#34;code-variable&#34;&gt;argument-list&lt;/span&gt;] )[,...]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;`GRANT OPTION FOR`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;EXECUTE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes grantees ability to run the specified procedures.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all procedure privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;`[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;procedure&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The target procedure.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;argument-list&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;A comma-delimited list of procedure arguments, where each argument is specified as follows:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[&lt;span class=&#34;code-variable&#34;&gt;argname&lt;/span&gt;] &lt;span class=&#34;code-variable&#34;&gt;argtype&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If the procedure is defined with no arguments, supply an empty argument list.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example revokes user &lt;code&gt;Bob&lt;/code&gt;&#39;s execute privilege on the &lt;code&gt;tokenize&lt;/code&gt; procedure.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE EXECUTE ON PROCEDURE tokenize(varchar) FROM Bob;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-procedure/&#34;&gt;GRANT (procedure)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (Resource pool)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-resource-pool/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-resource-pool/</guid>
      <description>
        
        
        &lt;p&gt;Revokes resource pool access privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Vertica checks resource pool privileges at runtime. Revoking a user&#39;s privileges for a resource pool can have an immediate effect on the user&#39;s current session. For example, a user query might require USAGE privileges on a resource pool. If you revoke those privileges from that user, subsequent attempts by the user to execute that query fail and return with an error message.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE  [ GRANT OPTION FOR ] { USAGE | ALL PRIVILEGES }
   ON RESOURCE POOL &lt;span class=&#34;code-variable&#34;&gt;resource-pool&lt;/span&gt;[,...]
   [FOR SUBCLUSTER &lt;span class=&#34;code-variable&#34;&gt;subcluster&lt;/span&gt; | FOR CURRENT SUBCLUSTER]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;USAGE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes grantee&#39;s access to the specified resource pool.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL PRIVILEGES&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all resource pool privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;resource-pool&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;The target resource pool.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;subcluster&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;The subcluster for the resource pool.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke user &lt;code&gt;Joe&lt;/code&gt;&#39;s USAGE privileges on resource pool &lt;code&gt;Joe_pool&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE USAGE ON RESOURCE POOL Joe_pool FROM Joe;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Revoke user &lt;code&gt;Joe&lt;/code&gt;&#39;s USAGE privileges on resource pool &lt;code&gt;Joe_pool&lt;/code&gt; for subcluster &lt;code&gt;sub1&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE USAGE ON RESOURCE POOL Joe_pool FOR SUBCLUSTER sub1 FROM Joe;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-resource-pool/&#34;&gt;GRANT (Resource pool)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (Role)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-role/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-role/</guid>
      <description>
        
        
        &lt;p&gt;Revokes a role from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ ADMIN OPTION FOR ] &lt;span class=&#34;code-variable&#34;&gt;role&lt;/span&gt;[,...]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;ADMIN OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes from the grantees the authority to assign the specified roles to other users or roles. Current roles for grantees remain unaffected. If you omit this clause, Vertica revokes role assignment privileges and the current roles .&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;role&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Role to revoke.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;One of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Privileges grantee who was given the option (&lt;code&gt;WITH ADMIN OPTION&lt;/code&gt;) of extending these privileges to other users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example shows the revocation of the pseudosuperuser role from the dbadmin user:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE pseudosuperuser from dbadmin;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This example shows the revocation of administration access from the dbadmin user for the pseudosuperuser role. The ADMIN OPTION command does not remove the pseudosuperuser role.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE ADMIN OPTION FOR pseudosuperuser FROM dbadmin;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;notes&#34;&gt;Notes&lt;/h2&gt;
&lt;p&gt;If the role you are trying to revoke was not already granted to the user, Vertica returns a NOTICE:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE commentor FROM Sue;
NOTICE 2022:  Role &amp;#34;commentor&amp;#34; was not already granted to user &amp;#34;Sue&amp;#34;
REVOKE ROLE
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-role/&#34;&gt;GRANT (Role)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (schema)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-schema/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-schema/</guid>
      <description>
        
        
        &lt;p&gt;Revokes schema privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] }
   ON SCHEMA [&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;[,...]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The schema privilege to revoke, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;USAGE: Access objects in the specified schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;CREATE: Create objects in the specified schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can also revoke privileges from tables and views that they inherited on creation from this schema. When you revoke inherited privileges at the schema level, Vertica automatically applies the revocation to all tables and views that inherited these privileges.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SELECT: &lt;a href=&#34;../../../../en/sql-reference/statements/select/&#34;&gt;Query&lt;/a&gt; tables and views. SELECT privileges are granted by default to the PUBLIC role.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;INSERT: &lt;a href=&#34;../../../../en/sql-reference/statements/insert/&#34;&gt;Insert&lt;/a&gt; rows, or and load data into tables with 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/copy/&#34;&gt;COPY&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;code&gt;COPY FROM STDIN&lt;/code&gt; is allowed for users with INSERT privileges, while &lt;code&gt;COPY FROM &lt;/code&gt;&lt;em&gt;&lt;code&gt;file&lt;/code&gt;&lt;/em&gt; requires admin privileges.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;UPDATE: &lt;a href=&#34;../../../../en/sql-reference/statements/update/&#34;&gt;Update&lt;/a&gt; table rows.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DELETE: &lt;a href=&#34;../../../../en/sql-reference/statements/delete/&#34;&gt;Delete&lt;/a&gt; table rows.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;REFERENCES: Create &lt;a href=&#34;../../../../en/admin/constraints/supported-constraints/foreign-key-constraints/&#34;&gt;foreign key constraints&lt;/a&gt; on this table. This privilege must be set on both referencing and referenced tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;TRUNCATE: &lt;a href=&#34;../../../../en/sql-reference/statements/truncate-table/&#34;&gt;Truncate&lt;/a&gt; table contents. Non-owners of tables can also execute the following partition operations on them:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/drop-partitions/&#34;&gt;DROP_PARTITIONS&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/swap-partitions-between-tables/&#34;&gt;SWAP_PARTITIONS_BETWEEN_TABLES&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/move-partitions-to-table/&#34;&gt;MOVE_PARTITIONS_TO_TABLE&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER: Modify the DDL of tables and views with 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-table/&#34;&gt;ALTER TABLE&lt;/a&gt;&lt;/code&gt; and 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-view/&#34;&gt;ALTER VIEW&lt;/a&gt;&lt;/code&gt;, respectively.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DROP: Drop tables and views.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes USAGE AND CREATE privileges. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Inherited privileges must be explicitly revoked.
&lt;/div&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The schema on which to revoke privileges. If you specify a database, it must be the current database.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke user &lt;code&gt;Joe&lt;/code&gt;&#39;s USAGE privilege on schema &lt;code&gt;online_sales&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE USAGE ON SCHEMA online_sales FROM Joe;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-schema/&#34;&gt;GRANT (schema)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (sequence)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-sequence/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-sequence/</guid>
      <description>
        
        
        &lt;p&gt;Revokes sequence privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] }
   ON {
     SEQUENCE [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;sequence&lt;/span&gt;[,...]
     | ALL SEQUENCES IN SCHEMA [&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;[,...] }
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;`GRANT OPTION FOR`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;One of the following privileges:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SELECT: Execute functions &lt;a href=&#34;../../../../en/sql-reference/functions/data-type-specific-functions/sequence-functions/currval/&#34;&gt;CURRVAL&lt;/a&gt; and &lt;a href=&#34;../../../../en/sql-reference/functions/data-type-specific-functions/sequence-functions/nextval/&#34;&gt;NEXTVAL&lt;/a&gt; on the specified sequences.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER: Modify a sequence&#39;s DDL with &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-sequence/&#34;&gt;ALTER SEQUENCE&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DROP: Drop this sequence with &lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-sequence/&#34;&gt;DROP SEQUENCE&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all sequence privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; is supported to comply with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;`[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SEQUENCE &lt;/code&gt;&lt;em&gt;&lt;code&gt;sequence&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the sequence on which to revoke privileges.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;`ALL SEQUENCES IN SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes the specified privileges on all sequences in schema &lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;`CASCADE`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke user &lt;code&gt;Joe&lt;/code&gt;&#39;s privileges on sequence &lt;code&gt;my_seq&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE ALL PRIVILEGES ON SEQUENCE my_seq FROM Joe;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-sequence/&#34;&gt;GRANT (sequence)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (storage location)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-storage-location/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-storage-location/</guid>
      <description>
        
        
        &lt;p&gt;Revokes privileges on a USER-defined storage location from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;. For more information, see &lt;a href=&#34;../../../../en/admin/managing-storage-locations/creating-storage-locations/&#34;&gt;Creating storage locations&lt;/a&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

If the storage location is &lt;a href=&#34;../../../../en/admin/managing-storage-locations/dropping-storage-locations/&#34;&gt;dropped&lt;/a&gt;, Vertica automatically revokes all privileges on it.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] }
   ON LOCATION &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;path&lt;/span&gt;&amp;#39; [ ON &lt;span class=&#34;code-variable&#34;&gt;node&lt;/span&gt; ]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;One of the following privileges:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;READ&lt;/code&gt;: Copy data from files in the storage location into a table.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WRITE&lt;/code&gt;: Export data from the database to the storage location. With &lt;code&gt;WRITE&lt;/code&gt; privileges, grantees can also save &lt;code&gt;COPY&lt;/code&gt; statement rejected data and exceptions files to the storage location.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all storage location privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; is supported to comply with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ON LOCATION &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39; [ ON &lt;/code&gt;&lt;em&gt;&lt;code&gt;node&lt;/code&gt;&lt;/em&gt;&lt;code&gt; ]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the path name mount point of the storage location. If qualified by &lt;code&gt;ON NODE&lt;/code&gt;, Vertica revokes access to the storage location residing on &lt;em&gt;&lt;code&gt;node&lt;/code&gt;&lt;/em&gt;.
&lt;p&gt;If no node is specified, the revoke operation applies to all nodes on the specified path. All nodes must be on the specified path; otherwise, the entire revoke operation rolls back.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-storage-location/&#34;&gt;GRANT (storage location)&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (table)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-table/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-table/</guid>
      <description>
        
        
        &lt;p&gt;Revokes table privileges from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] }
   ON {
     [ TABLE ] [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;table&lt;/span&gt;[,...]
     | ALL TABLES IN SCHEMA [&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;[,...] }
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;GRANT OPTION FOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;One of the following privileges:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SELECT: &lt;a href=&#34;../../../../en/sql-reference/statements/select/&#34;&gt;Quer&lt;/a&gt;y tables. SELECT privileges are granted by default to the PUBLIC role.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;INSERT: Insert table rows with &lt;a href=&#34;../../../../en/sql-reference/statements/insert/&#34;&gt;INSERT&lt;/a&gt;, and load data with 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/copy/&#34;&gt;COPY&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;code&gt;COPY FROM STDIN&lt;/code&gt; is allowed for users with INSERT privileges, while &lt;code&gt;COPY FROM &lt;/code&gt;&lt;em&gt;&lt;code&gt;file&lt;/code&gt;&lt;/em&gt; requires admin privileges.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;UPDATE: &lt;a href=&#34;../../../../en/sql-reference/statements/update/&#34;&gt;Update&lt;/a&gt; table rows.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DELETE: &lt;a href=&#34;../../../../en/sql-reference/statements/delete/&#34;&gt;Delete&lt;/a&gt; table rows.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;REFERENCES: Create &lt;a href=&#34;../../../../en/admin/constraints/supported-constraints/foreign-key-constraints/&#34;&gt;foreign key constraints&lt;/a&gt; on this table. This privilege must be set on both referencing and referenced tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;TRUNCATE: &lt;a href=&#34;../../../../en/sql-reference/statements/truncate-table/&#34;&gt;Truncate&lt;/a&gt; table contents. Non-owners of tables can also execute the following partition operations on them:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/drop-partitions/&#34;&gt;DROP_PARTITIONS&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/swap-partitions-between-tables/&#34;&gt;SWAP_PARTITIONS_BETWEEN_TABLES&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/move-partitions-to-table/&#34;&gt;MOVE_PARTITIONS_TO_TABLE&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER: Modify a table&#39;s DDL with 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-table/&#34;&gt;ALTER TABLE&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DROP: &lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-table/&#34;&gt;Drop a table&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all table privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; is supported to comply with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database.&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;Specifies a schema&lt;/a&gt;, by default &lt;code&gt;public&lt;/code&gt;. If &lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt; is any schema other than &lt;code&gt;public&lt;/code&gt;, you must supply the schema name. For example:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;myschema.thisDbObject
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;One exception applies: you can specify system tables without their schema name.&lt;/p&gt;
&lt;p&gt;If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;TABLE &lt;/code&gt;&lt;em&gt;&lt;code&gt;table&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the table on which to revoke privileges.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ON ALL TABLES IN SCHEMA &lt;/code&gt;&lt;em&gt;&lt;code&gt;schema &lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;Revokes the specified privileges on all tables and views in schema &lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Ownership&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;GRANT OPTION&lt;/a&gt; on the object&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke user &lt;code&gt;Joe&lt;/code&gt;&#39;s privileges on table &lt;code&gt;customer_dimension&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE ALL PRIVILEGES ON TABLE customer_dimension FROM Joe;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-table/&#34;&gt;GRANT (table)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (TLS configuration)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-tls-config/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-tls-config/</guid>
      <description>
        
        
        &lt;p&gt;Revokes privileges granted on one or more TLS Configurations from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ]
    { ALL | [ &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] ]}
    ON TLS CONFIGURATION &lt;span class=&#34;code-variable&#34;&gt;tls_configuration&lt;/span&gt;[,...]
    FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt; [,...]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;`GRANT OPTION FOR`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;A privilege, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;USAGE: Allows the user to set the TLS Configuration for a type of connection and view its contents in the system table &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/tls-configs/&#34;&gt;TLS_CONFIGURATIONS&lt;/a&gt;. For details, see &lt;a href=&#34;../../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;Security parameters&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-tls-config/&#34;&gt;DROP&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-tls-config/&#34;&gt;ALTER&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;tls_configuration&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The TLS Configuration on which to revoke privileges.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies who is granted privileges, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;span class=&#34;code-variable&#34;&gt;[user‑name](/en/admin/db-users-and-privileges/db-users/)&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span class=&#34;code-variable&#34;&gt;[role](/en/admin/db-users-and-privileges/db-roles/)&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: Default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superusers require &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-schema/&#34;&gt;USAGE on the schema&lt;/a&gt; and one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Privileges grantee given the option (&lt;code&gt;WITH GRANT OPTION&lt;/code&gt;) of granting privileges to other users or roles.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;To revoke ALTER privileges on the TLS Configuration &lt;code&gt;server&lt;/code&gt; from the role &lt;code&gt;client_server_tls_manager&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE ALTER ON TLS CONFIGURATION server FROM client_server_tls_manager;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (user defined extension)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-user-defined-extension/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-user-defined-extension/</guid>
      <description>
        
        
        &lt;p&gt;Revokes privileges on one or more &lt;a href=&#34;../../../../en/extending/udxs/&#34;&gt;user-defined extensions&lt;/a&gt; from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { EXECUTE | ALL PRIVILEGES }
   ON {
       &lt;span class=&#34;code-variable&#34;&gt;UDx‑type&lt;/span&gt; [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function‑name&lt;/span&gt;( [&lt;span class=&#34;code-variable&#34;&gt;argument‑list&lt;/span&gt;] )[,...]
       | ALL FUNCTIONS IN SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;[,...] }
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;`GRANT OPTION FOR`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;EXECUTE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes grantees ability to run the specified functions.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL [PRIVILEGES]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all function privileges that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;`ON &lt;span class=&#34;code-variable&#34;&gt;UDx‑type&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the function&#39;s user-defined extension (UDx) type, where &lt;em&gt;&lt;code&gt;UDx‑type&lt;/code&gt;&lt;/em&gt; is one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;FUNCTION&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;AGGREGATE FUNCTION&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ANALYTIC FUNCTION&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TRANSFORM FUNCTION&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;FILTER&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PARSER&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SOURCE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function‑name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the user-defined function on which to revoke privileges.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ON ALL FUNCTIONS IN SCHEMA &lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes privileges on all functions in the specified schema.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;argument-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Required for all polymorphic functions, a comma-delimited list of function arguments, where each argument is specified as follows:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[&lt;span class=&#34;code-variable&#34;&gt;argname&lt;/span&gt;] &lt;span class=&#34;code-variable&#34;&gt;argtype&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If the procedure is defined with no arguments, supply an empty argument list.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Owner of the target function&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Privileges grantee who was given the option (&lt;code&gt;WITH GRANT OPTION&lt;/code&gt;) of extending these privileges to other users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke &lt;code&gt;EXECUTE&lt;/code&gt; privileges from user &lt;code&gt;Bob&lt;/code&gt; on function &lt;code&gt;myzeroifnull&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE EXECUTE ON FUNCTION myzeroifnull (x INT) FROM Bob;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Revoke all privileges from user &lt;code&gt;Doug&lt;/code&gt; on function &lt;code&gt;Pagerank&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE ALL ON TRANSFORM FUNCTION Pagerank (t float) FROM Doug;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Revoke &lt;code&gt;EXECUTE&lt;/code&gt; privileges on all functions in the &lt;code&gt;zero-schema&lt;/code&gt; schema from user Bob:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE EXECUTE ON ALL FUNCTIONS IN SCHEMA zero-schema FROM Bob;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Revoke &lt;code&gt;EXECUTE&lt;/code&gt; privileges from user Bob on the &lt;code&gt;tokenize&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE EXECUTE ON TRANSFORM FUNCTION tokenize(VARCHAR) FROM Bob;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Revoke all privileges on the &lt;code&gt;ExampleSource()&lt;/code&gt; source from user Alice:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE ALL ON SOURCE ExampleSource() FROM Alice;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-user-defined-extension/&#34;&gt;GRANT (User Defined Extension)&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and Revoking Privileges&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/&#34;&gt;Developing user-defined extensions (UDxs)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: REVOKE (view)</title>
      <link>/en/sql-reference/statements/revoke-statements/revoke-view/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/revoke-statements/revoke-view/</guid>
      <description>
        
        
        &lt;p&gt;Revokes privileges on a view from &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;users&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;roles&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;REVOKE [ GRANT OPTION FOR ] { &lt;span class=&#34;code-variable&#34;&gt;privilege&lt;/span&gt;[,...] | ALL [ PRIVILEGES ] }
   ON [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;view&lt;/span&gt;[,...]
   FROM &lt;span class=&#34;code-variable&#34;&gt;grantee&lt;/span&gt;[,...]
   [ CASCADE ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;`GRANT OPTION FOR`&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Revokes the grant option for the specified privileges. Current privileges for grantees remain unaffected. If you omit this clause, Vertica revokes both the grant option and current privileges.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;privilege&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;One of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SELECT: Query the specified views.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER: Modify a view&#39;s DDL with &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-view/&#34;&gt;ALTER VIEW&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;DROP: Drop this view with &lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-view/&#34;&gt;DROP VIEW&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ALL PRIVILEGES&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Revokes all privileges that pertain to views that also belong to the revoker. Users cannot revoke privileges that they themselves lack.
&lt;p&gt;The optional keyword &lt;code&gt;PRIVILEGES&lt;/code&gt; conforms with the SQL standard.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database.&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;view&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;The view on which to revoke privileges.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;grantee&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whose privileges are revoked, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-users/&#34;&gt;User name&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;Role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/&#34;&gt;PUBLIC&lt;/a&gt;&lt;/code&gt;: The default role of all users&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CASCADE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;&lt;code&gt;I&lt;/code&gt;f the target grantees have a grant option to extend the specified privileges to other users, &lt;code&gt;CASCADE&lt;/code&gt; specifies to search for these users and revoke the privileges from them also.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Revoke SELECT privileges from user &lt;code&gt;Joe&lt;/code&gt; on view &lt;code&gt;test_view&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; REVOKE SELECT ON test_view FROM Joe;
REVOKE PRIVILEGE
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-view/&#34;&gt;GRANT (view)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/&#34;&gt;Granting and revoking privileges&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
