code: public function updateSite($id, DeploymentSite $deploymentSite)
      {
          $parameters = [
              'query' => [],
              'body' => json_encode(['deploymentSite' => $deploymentSite], JSON_UNESCAPED_UNICODE),
              'headers' => [],
          ];
  
          $result = $this->post('v1/deployment/' . $id . '', $parameters);
          $result = new DeploymentSiteResponse($result);
  
          return $result;
      }
docs: Update a DeploymentSite.
  
  @param  int                    $id             the DeploymentSite identifier
  @param  DeploymentSite         $deploymentSite A JSON encoded DeploymentSite representing the updates
  @return DeploymentSiteResponse