code: public function create(Tenant $tenant, Parameters $parameters = null)
      {
          $options = [];
          $options['json'] = (array) static::toObject($tenant);
  
          if ($parameters) {
              $options['query'] = (array) $parameters->toObject(true);
          }
  
          $object = $this->execute('POST', static::RESOURCE_LIST, $options);
          $tenant = static::toModel($object);
  
          return $tenant;
      }
docs: Create tenant
  
  @param \Ds\Component\System\Model\Tenant $tenant
  @param \Ds\Component\System\Query\TenantParameters $parameters
  @return \Ds\Component\System\Model\Tenant