deleteUser()
This method deletes a user in Milvus.
Invocation
new milvusClient(MILUVS_ADDRESS).userManager.deleteUser({
username: your_username,
});
Parameters
DeleteUserReq
Parameter | Description | Type | Required |
---|---|---|---|
username | The existing username in Milvus to delete | String | True |
timeout | An optional duration of time in millisecond to allow for the RPC. Default is undefined | Number | False |
Example
new milvusClient(MILUVS_ADDRESS).userManager.deleteUser({
username: "milvus",
});
Return
{ error_code: 'Success', reason: '' }