Source
pub async fn revoke_permission_credential( &self, name: String, permission: String, credential_name: String, ) -> Result<RevokePermissionCredentialResponse, KineticaError>
Revoke a credential-level permission from a user or role
[DEPRECATED–please use /revoke/permission instead] Revokes a credential-level 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.credential_name- Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials.
Source
pub async fn revoke_permission_credential_with_opts( &self, name: String, permission: String, credential_name: String, options: RevokePermissionCredentialRequestOptions, ) -> Result<RevokePermissionCredentialResponse, KineticaError>
Revoke a credential-level permission from a user or role
[DEPRECATED–please use /revoke/permission instead] Revokes a credential-level 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.credential_name- Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn revoke_permission_credential_raw( &self, request: &RevokePermissionCredentialRequest, ) -> Result<RevokePermissionCredentialResponse, KineticaError>
Sends a pre-built RevokePermissionCredentialRequest to the /revoke/permission/credential endpoint.
Source
pub async fn revoke_permission_credential_from_url( &self, url: &str, request: &RevokePermissionCredentialRequest, ) -> Result<RevokePermissionCredentialResponse, KineticaError>
Sends a pre-built RevokePermissionCredentialRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.