Skip to main content
  • [DEPRECATED—please use revoke_permission instead] Revokes a table-level permission from a user or role.

    Parameters

    • name: string

      Name of the user or role from which the permission will be revoked. Must be an existing user or role.

    • permission: string

      Permission to revoke from the user or role.

    • table_name: string

      Name of the table to which the permission grants access, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table, view or schema.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<RevokePermissionTableResponse>

    Promise<Types.RevokePermissionTableResponse> - Promise resolving to the response