public function rename($name)
    {
        $retval = [
            'success' => false,
            'data'    => [],
        ];

        $response = self::$httpClient->patch(
            self::$account->getMetadataUrl() . "nodes/{$this['id']}",
            [
                'headers' => [
                    'Authorization' => 'Bearer ' . self::$account->getToken()['access_token'],
                ],
                'json' => [
                    'name' => $name,
                ],
                'exceptions' => false,
            ]
        );

        $retval['data'] = json_decode((string)$response->getBody(), true);

        if ($response->getStatusCode() === 200) {
            $retval['success'] = true;
            $this->replace($retval['data']);
            $this->save();
        }

        return $retval;
    }