Skip to main content
Source

pub async fn alter_role( &self, name: String, action: String, value: String, ) -> Result<AlterRoleResponse, KineticaError>

Alter a Role

Alters a Role.

  • name - Name of the role to be altered. Must be an existing role.
  • action - Modification operation to be applied to the role.
  • value - The value of the modification, depending on action.

Alter a Role

Alters a Role.

  • name - Name of the role to be altered. Must be an existing role.
  • action - Modification operation to be applied to the role.
  • value - The value of the modification, depending on action.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AlterRoleRequest to the /alter/role endpoint.

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