<!DOCTYPE html>
<html>
<head>
  <title>Dokumentacja 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.pl.html'>Foreman v2</a>
    <span class='divider'>/</span>
  </li>
  <li>
    <a href='../../../apidoc/v2/architectures.pl.html'>
      Architectures
      
    </a>
    <span class='divider'>/</span>
  </li>
  <li class='active'>destroy</li>
  <li class='pull-right'>
  &nbsp;[ <a href="../../../apidoc/v2/architectures/destroy.ca.html">ca</a> | <a href="../../../apidoc/v2/architectures/destroy.cs_CZ.html">cs_CZ</a> | <a href="../../../apidoc/v2/architectures/destroy.de.html">de</a> | <a href="../../../apidoc/v2/architectures/destroy.en.html">en</a> | <a href="../../../apidoc/v2/architectures/destroy.en_GB.html">en_GB</a> | <a href="../../../apidoc/v2/architectures/destroy.es.html">es</a> | <a href="../../../apidoc/v2/architectures/destroy.fr.html">fr</a> | <a href="../../../apidoc/v2/architectures/destroy.gl.html">gl</a> | <a href="../../../apidoc/v2/architectures/destroy.it.html">it</a> | <a href="../../../apidoc/v2/architectures/destroy.ja.html">ja</a> | <a href="../../../apidoc/v2/architectures/destroy.ko.html">ko</a> | <a href="../../../apidoc/v2/architectures/destroy.nl_NL.html">nl_NL</a> | <b><a href="../../../apidoc/v2/architectures/destroy.pl.html">pl</a></b> | <a href="../../../apidoc/v2/architectures/destroy.pt_BR.html">pt_BR</a> | <a href="../../../apidoc/v2/architectures/destroy.ru.html">ru</a> | <a href="../../../apidoc/v2/architectures/destroy.sv_SE.html">sv_SE</a> | <a href="../../../apidoc/v2/architectures/destroy.zh_CN.html">zh_CN</a> | <a href="../../../apidoc/v2/architectures/destroy.zh_TW.html">zh_TW</a> ]
</li>


</ul>

  <div class='page-header'>
    <h1>
      DELETE /api/architectures/:id
      <br>
      <small>Usuń architekturę</small>
    </h1>
  </div>

<div>

  



  <h2>Przykłady</h2>
    <pre class="prettyprint">DELETE /api/architectures/501905019-x86_64
{
  &quot;architecture&quot;: {}
}
422
{
  &quot;error&quot;: {
    &quot;id&quot;: 501905019,
    &quot;errors&quot;: {
      &quot;base&quot;: [
        &quot;x86_64 is used by Parent&quot;,
        &quot;x86_64 is used by db&quot;,
        &quot;x86_64 is used by Common&quot;
      ]
    },
    &quot;full_messages&quot;: [
      &quot;x86_64 is used by Parent&quot;,
      &quot;x86_64 is used by db&quot;,
      &quot;x86_64 is used by Common&quot;
    ]
  }
}</pre>

  <h2>Parametry</h2>
  <table class='table'>
    <thead>
      <tr>
        <th>Nazwa parametru</th>
        <th>Opis</th>
      </tr>
    </thead>
    <tbody>
        <tr style='background-color:rgb(255,255,255);'>
    <td>
      <strong>location_id </strong><br>
      <small>
        opcjonalny
        
      </small>
    </td>
    <td>
      
<p>Set the current location context for the request</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>
        opcjonalny
        
      </small>
    </td>
    <td>
      
<p>Set the current organization context for the request</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>
        wymagany
        
      </small>
    </td>
    <td>
      
        <p><strong>Validations:</strong></p>
        <ul>
            <li>
<p>Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.</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>
