Teradata Package for LangChain Function Reference - revoke - Teradata® Package for LangChain - Look here for syntax, methods and examples for the functions included in the Teradata langchain-teradata package.

Teradata® Package for LangChain Function Reference

Deployment
VantageCloud
Edition
Enterprise
Product
Teradata® Package for LangChain
Release Number
20.00.00.01
Published
December 2025
ft:locale
en-US
ft:lastEdition
2025-12-19
dita:id
Langchain-Teradata_FxRef_Lake
Product Category
Teradata Vantage
libs.teradata.langchain_teradata.TeradataVectorStore.revoke
DESCRIPTION:
    Revoke the permission of the user on the vector store.
    Notes:
        * Only admin users can use this method.
        * Admin can revoke admin/user permssions of other users and
          admins on the vector store.
        * Admin/User cannot revoke his own permssions.
        * Admin cannot revoke user permissions of another admin.
          First the admin permissions needs to be revoked and
          then the user permission can be revoked.
        * Refer to the 'Admin Flow' section in the
          User guide for details.
 
PARAMETERS:
    None
 
RETURNS:
    None.
 
RAISES:
    TeradataMlException.
 
EXAMPLES:
    # NOTE: It is assumed that vector store "vs" already exits.
    # Create an instance of the TeradataVectorStore class.
    >>> vs = TeradataVectorStore(name="vs")
    # Revoke 'admin' permission of user 'alice' on the vector store 'vs'.
    >>> vs.revoke.admin('alice')
    # Revoke 'user' permission of user 'alice' on the vector store 'vs'.
    >>> vs.revoke.user('alice')