Skip to main content
Source

pub async fn revoke_permission_datasource( &self, name: String, permission: String, datasource_name: String, ) -> Result<RevokePermissionDatasourceResponse, KineticaError>

Revoke a data source permission from a user or role

[DEPRECATED–please use /revoke/permission instead] Revokes a data source permission from a user or role.

  • 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.
  • datasource_name - 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.

Revoke a data source permission from a user or role

[DEPRECATED–please use /revoke/permission instead] Revokes a data source permission from a user or role.

  • 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.
  • datasource_name - 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 - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built RevokePermissionDatasourceRequest to the /revoke/permission/datasource endpoint.

Sends a pre-built RevokePermissionDatasourceRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.