Skip to main content
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.

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.

Sends a pre-built RevokePermissionCredentialRequest to the /revoke/permission/credential endpoint.

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