public function updateApiApp($client_id, ApiApp $app)
    {
        $response = $this->rest->post(
            static::APIAPP_PATH . '/' . $client_id,
            $app->toUpdateParams()
        );

        $this->checkResponse($response);

        return $app->fromResponse($response);
    }