Officially out now: The TypeDB 3.0 Roadmap >>

Deleting users

To delete a user, connect to TypeDB and follow the steps below:

  • Console

  • Studio

Run the following command:

user delete <username>

Where <username> is the name of the user.

Coming soon.

To delete a user programmatically:

  • Rust

  • Python

  • Java

  • Node.js

  • C#

  • C++

  • C

let user = driver.users().get("<username>").await?;
let result = user.delete().await;

Where driver is an instance of a driver, connected to TypeDB, and "<username>" is the name of the user.

driver.users.get("<username>").delete()

Where driver is an instance of a driver, connected to TypeDB, and "<username>" is the name of the user.

driver.users().get("<username>").delete();

Where driver is an instance of a driver, connected to TypeDB, and "<username>" is the name of the user.

Coming soon.