Skip to main content
  • revokePermissionDatasource

    public RevokePermissionDatasourceResponse revokePermissionDatasource(RevokePermissionDatasourceRequest request) throws GPUdbException
    [DEPRECATED—please use revokePermission instead] Revokes a data source permission from a user or role.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • revokePermissionDatasource

    public RevokePermissionDatasourceResponse revokePermissionDatasource(String name, String permission, String datasourceName, Map<String,String> options) throws GPUdbException
    [DEPRECATED—please use revokePermission instead] Revokes a data source permission from a user or role.
    Parameters:
    name - Name of the user or role from which the permission will be revoked. Must be an existing user or role.
    permission - Permission to revoke from the user or role. Supported values:
    • ADMIN: Admin access on the given data source.
    • CONNECT: Connect access on the given data source.
    datasourceName - Name of the data source on which the permission will be revoked. Must be an existing data source, or an empty string to revoke permission from all data sources.
    options - Optional parameters. The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.