class Milvus::Users
def create(user_name:, password:)
-
(Hash)
- Server response
Parameters:
-
password
(String
) -- Password for the user -
user_name
(String
) -- Username for the user
def create(user_name:, password:) response = client.connection.post("#{PATH}/create") do |req| req.body = { userName: user_name, password: password } end response.body end