milvus-logo
Star
0
Forks
0
Get Started

deleteUser()

This method deletes a user in Milvus.

Invocation

new milvusClient(MILUVS_ADDRESS).userManager.deleteUser({
  username: your_username,
});

Parameters

DeleteUserReq

ParameterDescriptionTypeRequired
usernameThe existing username in Milvus to deleteStringTrue

Example

new milvusClient(MILUVS_ADDRESS).userManager.deleteUser({
  username: "milvus",
});

Return

{ error_code: 'Success', reason: '' }