src/Client.php
public function addUser($user, $password)
    {
        $params = [
            'name' => $user,
            'password' => $password,
        ];

        $body = $this->request(self::URI_AUTH_USER_ADD, $params);

        return $body;
    }
public function addUser($user, $password)
    {
        $params = [
            'name' => $user,
            'password' => $password,
        ];

        $body = $this->request(self::URI_AUTH_USER_ADD, $params);

        return $body;
    }
public function addUser ( $ user , $ password ) { $ params = [ 'name' => $ user , 'password' => $ password , ] ; $ body = $ this -> request ( self :: URI_AUTH_USER_ADD , $ params ) ; return $ body ; }
add a new user

@param string $user
@param string $password
@return array
@throws \GuzzleHttp\Exception\BadResponseException
add a new user