milvus-logo
LFAI
< Docs
  • Node
    • User

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
timeoutAn optional duration of time in millisecond to allow for the RPC. Default is undefinedNumberFalse

Example

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

Return

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

Was this page helpful?