---
id: create-a-new-site
title: "Create a new site."
description: "Create a new site."
sidebar_label: "Create a new site."
hide_title: true
hide_table_of_contents: true
api: eJx9VEtv2zAM/isBTxugLe2AXnxrix2CvYI+ToEPjM06am3Jleg8Zui/D5Tt2GnTXQyZ4uMjv09sISefOV2ztgYSuHWETDOcGdrNvGb6CgoYCw/JCu41Eyj44wo0+i/GkFSBp6xxmg+QrFq4IXTkZtcNbyBZpSFVUKPDipicjx4+21CFkLTAh5ogAc9OmwKCAkevjXaUQ8KuIQUGK3GwrljkoEALwhp5A5JWnMnzjc0PkiyzhsmwHLGuS51FfPNnL32dqWrXz5QxKKidrcmxJi+3Xcm32BRU2vwkU0hXlwoq3A9/366uggLaa/5tc1rkk2BtmApyXbSumgqSC3HNysbrLf0ajNJsUFA36x90ODsY36wN8dkrQzs+qTqJosx9EIV57sj7s3ed4f0IyAjYVawICnbaUdGgE2ZKm2EJaTjhcNUNs0+YxqJaSMFyOZn5E5aeQuhifW2Nj0wEBRXxxubCeROJEuYTmFtXzNuoiTD3nSQ9ue2gr8aV4rW9jCoZxHkv/HcUn0j02OaGuZZM0Q8SWEcvEFiiobtRbd/3WNUljWqZjGgig4uR0dFhIHK0DPxNfHraRsuRrdHUo45cBHkaT1YAyRS6l7y9FC/NAhSWaApbajNbiCRdfBqz6+VCQmvruUIzaefsEjjZE5Pn9sHK6OAx7Xlel6iNVIrMtD2PK3nWoCAZXnekMlWwsZ7lum3X6OnRlSGI+bUhJysmVbBFp3Etja1ayLWXc94L6T9AP9310vw8+whhb0RzAClTNvIHCl4iix3SkAYFG8KcXATQ3d12Zb48SIYx9t0qEk0edb18fAAF636DVTaXEIc7UPEbS9vYSRRutLVQoikaLMS3SykaxVM19+pVw0GAnm2ubTuPB/tCJoRjryz/0msI/wAx8RS0
sidebar_class_name: "put api-method"
info_path: 03-Pangolin/07-API/pangolin-integration-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Create a new site."}
>
</Heading>

<MethodEndpoint
  method={"put"}
  path={"/org/{orgId}/site"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Create a new site.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"schema":{"type":"string"},"required":true,"name":"orgId","in":"path"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"exitNodeId":{"type":"integer","minimum":0,"exclusiveMinimum":true},"pubKey":{"type":"string"},"subnet":{"type":"string"},"newtId":{"type":"string"},"secret":{"type":"string"},"address":{"type":"string"},"type":{"type":"string","enum":["newt","wireguard","local"]}},"required":["name","type"],"additionalProperties":false}}}}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{}}
>
  
</StatusCodes>


      