text: <!DOCTYPE html>
  <html>
  <head>
    <title>API документация</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/bootstrap.min.css'/>
  <link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/prettify.css'/>
  <link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/bootstrap-responsive.min.css'/>
    <link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/application.css'/>
    <!-- IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container-fluid">
      <div class="row-fluid">
        <div id='container'>
          <ul class='breadcrumb'>
    <li>
      <a href='../../../apidoc/v2.ru.html'>Foreman v2</a>
      <span class='divider'>/</span>
    </li>
    <li>
      <a href='../../../apidoc/v2/subnets.ru.html'>
        Subnets
        
      </a>
      <span class='divider'>/</span>
    </li>
    <li class='active'>destroy</li>
    <li class='pull-right'>
    &nbsp;[ <a href="../../../apidoc/v2/subnets/destroy.pt_BR.html">pt_BR</a> | <a href="../../../apidoc/v2/subnets/destroy.de.html">de</a> | <a href="../../../apidoc/v2/subnets/destroy.it.html">it</a> | <a href="../../../apidoc/v2/subnets/destroy.sv_SE.html">sv_SE</a> | <a href="../../../apidoc/v2/subnets/destroy.zh_CN.html">zh_CN</a> | <a href="../../../apidoc/v2/subnets/destroy.en_GB.html">en_GB</a> | <a href="../../../apidoc/v2/subnets/destroy.cs_CZ.html">cs_CZ</a> | <a href="../../../apidoc/v2/subnets/destroy.fr.html">fr</a> | <b><a href="../../../apidoc/v2/subnets/destroy.ru.html">ru</a></b> | <a href="../../../apidoc/v2/subnets/destroy.ja.html">ja</a> | <a href="../../../apidoc/v2/subnets/destroy.es.html">es</a> | <a href="../../../apidoc/v2/subnets/destroy.ko.html">ko</a> | <a href="../../../apidoc/v2/subnets/destroy.ca.html">ca</a> | <a href="../../../apidoc/v2/subnets/destroy.gl.html">gl</a> | <a href="../../../apidoc/v2/subnets/destroy.en.html">en</a> | <a href="../../../apidoc/v2/subnets/destroy.zh_TW.html">zh_TW</a> | <a href="../../../apidoc/v2/subnets/destroy.nl_NL.html">nl_NL</a> | <a href="../../../apidoc/v2/subnets/destroy.pl.html">pl</a> ]
  </li>
  
  
  </ul>
  
    <div class='page-header'>
      <h1>
        DELETE /api/subnets/:id
        <br>
        <small>Удалить подсеть</small>
      </h1>
    </div>
  
  <div>
  
    
  
  
  
    <h2>Примеры</h2>
      <pre class="prettyprint">DELETE /api/subnets/281110143-four
  {
    &quot;subnet&quot;: {}
  }
  200
  {
    &quot;id&quot;: 281110143,
    &quot;network&quot;: &quot;3.3.5.0&quot;,
    &quot;mask&quot;: &quot;255.255.255.0&quot;,
    &quot;priority&quot;: null,
    &quot;name&quot;: &quot;four&quot;,
    &quot;vlanid&quot;: 44,
    &quot;created_at&quot;: &quot;2019-02-20T13:35:16.577Z&quot;,
    &quot;updated_at&quot;: &quot;2019-02-20T13:35:16.577Z&quot;,
    &quot;dhcp_id&quot;: null,
    &quot;tftp_id&quot;: 298486374,
    &quot;gateway&quot;: null,
    &quot;dns_primary&quot;: null,
    &quot;dns_secondary&quot;: null,
    &quot;from&quot;: null,
    &quot;to&quot;: null,
    &quot;dns_id&quot;: null,
    &quot;boot_mode&quot;: &quot;DHCP&quot;,
    &quot;ipam&quot;: &quot;None&quot;,
    &quot;description&quot;: null,
    &quot;mtu&quot;: 9000,
    &quot;template_id&quot;: null,
    &quot;httpboot_id&quot;: null,
    &quot;to_label&quot;: &quot;four (3.3.5.0/24)&quot;,
    &quot;type&quot;: &quot;Subnet::Ipv4&quot;
  }</pre>
  
    <h2>Параметры</h2>
    <table class='table'>
      <thead>
        <tr>
          <th>Имя параметра</th>
          <th>Описание</th>
        </tr>
      </thead>
      <tbody>
          <tr style='background-color:rgb(255,255,255);'>
      <td>
        <strong>location_id </strong><br>
        <small>
          необязательно
          
        </small>
      </td>
      <td>
        
  <p>Ограничить местоположением</p>
  
          <p><strong>Validations:</strong></p>
          <ul>
              <li>
  <p>Must be a Integer</p>
  </li>
          </ul>
  
      </td>
  
    </tr>
  
    
    <tr style='background-color:rgb(255,255,255);'>
      <td>
        <strong>organization_id </strong><br>
        <small>
          необязательно
          
        </small>
      </td>
      <td>
        
  <p>Ограничить организацией</p>
  
          <p><strong>Validations:</strong></p>
          <ul>
              <li>
  <p>Must be a Integer</p>
  </li>
          </ul>
  
      </td>
  
    </tr>
  
    
    <tr style='background-color:rgb(255,255,255);'>
      <td>
        <strong>id </strong><br>
        <small>
          обязательно
          
        </small>
      </td>
      <td>
        
  <p>Числовой идентификатор подсети</p>
  
          <p><strong>Validations:</strong></p>
          <ul>
              <li>
  <p>Must be a number.</p>
  </li>
          </ul>
  
      </td>
  
    </tr>
  
    
  
      </tbody>
    </table>
  
  
  
  
  </div>
  
    
  
          
        </div>
      </div>
      <hr>
      <footer></footer>
    </div>
    <script type='text/javascript' src='../../../apidoc/javascripts/bundled/jquery.js'></script>
  <script type='text/javascript' src='../../../apidoc/javascripts/bundled/bootstrap-collapse.js'></script>
  <script type='text/javascript' src='../../../apidoc/javascripts/bundled/prettify.js'></script>
  <script type='text/javascript' src='../../../apidoc/javascripts/apipie.js'></script>
  </body>
  </html>
  