1
0
forked from docs/doc-exports
doc-exports/docs/rts/api-ref/rts_03_0059.html
Hasko, Vladimir 354bef10dd RTS API 0930 version (recreate of #289)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 15:11:35 +00:00

116 lines
9.0 KiB
HTML

<a name="rts_03_0059"></a><a name="rts_03_0059"></a>
<h1 class="topictitle1">Deleting a Software Deployment</h1>
<div id="body1511486474085"><div class="section" id="rts_03_0059__en-us_topic_0085081139_section5314816"><h4 class="sectiontitle">Function</h4><p id="rts_03_0059__en-us_topic_0085081139_p40918117">This API is used to delete a software deployment.</p>
</div>
<div class="section" id="rts_03_0059__en-us_topic_0085081139_section47833347"><h4 class="sectiontitle">URI</h4><p id="rts_03_0059__p76479013312">DELETE /v1/{project_id}/software_deployments/{deployment_id}</p>
<p id="rts_03_0059__p2702165314268">For details about the parameters, see <a href="#rts_03_0059__table1759528275">Table 1</a>.</p>
<div class="tablenoborder"><a name="rts_03_0059__table1759528275"></a><a name="table1759528275"></a><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0059__table1759528275" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="rts_03_0059__row26011272716"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.1"><p id="rts_03_0059__p17762534144716"><strong id="rts_03_0059__b9410181420182">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.2"><p id="rts_03_0059__p376433420478"><strong id="rts_03_0059__b15580201514188">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.3"><p id="rts_03_0059__p15766123474714"><strong id="rts_03_0059__b14365111615182">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.4"><p id="rts_03_0059__p147683349474"><strong id="rts_03_0059__b8235717191811">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="rts_03_0059__row10601725277"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.1 "><p id="rts_03_0059__p1765464961019">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.2 "><p id="rts_03_0059__p0655184916104">String</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.3 "><p id="rts_03_0059__p865694971017">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.4 "><p id="rts_03_0059__p13658144921010">Specifies the project ID.</p>
</td>
</tr>
<tr id="rts_03_0059__row205605355223"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.1 "><p id="rts_03_0059__p1874564042214">deployment_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.2 "><p id="rts_03_0059__p17747124020225">String</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.3 "><p id="rts_03_0059__p157491540122216">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.4 "><p id="rts_03_0059__p197517404224">Specifies the software deployment UUID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rts_03_0059__en-us_topic_0085081139_section27846943"><h4 class="sectiontitle">Request Parameter</h4><p id="rts_03_0059__p189811331574">N/A</p>
</div>
<div class="section" id="rts_03_0059__en-us_topic_0085081139_section49295902"><h4 class="sectiontitle">Response Parameter</h4><p id="rts_03_0059__en-us_topic_0085081139_p752012577140">This request does not return any content in the response body.</p>
</div>
<div class="section" id="rts_03_0059__en-us_topic_0085081139_section41009935"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="rts_03_0059__screen142851258102012">DELETE /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/80p72409093a9005bb7a6698c85a1b61</pre>
</div>
<div class="section" id="rts_03_0059__en-us_topic_0085081139_section33545101"><h4 class="sectiontitle">Response Example</h4><p id="rts_03_0059__en-us_topic_0085081139_p1251871231511">None</p>
</div>
<div class="section" id="rts_03_0059__en-us_topic_0085081139_section33470456"><h4 class="sectiontitle">Return Code</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0059__en-us_topic_0057973117_table40445519194057" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Normal return code</caption><thead align="left"><tr id="rts_03_0059__rts_03_0054_en-us_topic_0057973117_row42419326194057"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.7.2.2.4.1.1"><p id="rts_03_0059__rts_03_0054_en-us_topic_0057973117_p13413377194057">Return Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.7.2.2.4.1.2"><p id="rts_03_0059__rts_03_0054_en-us_topic_0057973117_p12741761194057"><strong id="rts_03_0059__rts_03_0054_en-us_topic_0057973140_b84235270615814_1">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51%" id="mcps1.3.7.2.2.4.1.3"><p id="rts_03_0059__rts_03_0054_en-us_topic_0057973117_p25449701194057"><strong id="rts_03_0059__rts_03_0054_en-us_topic_0057973140_b842352706193020">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="rts_03_0059__rts_03_0054_en-us_topic_0057973117_row48159894194057"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.2.2.4.1.1 "><p id="rts_03_0059__rts_03_0054_en-us_topic_0057973122_p61089452194154">204</p>
</td>
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.2.2.4.1.2 "><p id="rts_03_0059__rts_03_0054_en-us_topic_0057973122_p49298568194154">No Content</p>
</td>
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.2.2.4.1.3 "><p id="rts_03_0059__rts_03_0054_en-us_topic_0057973122_p33761032194154">The RTS service has fulfilled the request by deleting the resource.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0059__table3304326164315" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Error return code</caption><thead align="left"><tr id="rts_03_0059__rts_03_0025_row16955110342"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.7.3.2.4.1.1"><p id="rts_03_0059__rts_03_0025_p129561510144"><strong id="rts_03_0059__rts_03_0025_b1552942884813">Return Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.7.3.2.4.1.2"><p id="rts_03_0059__rts_03_0025_p4959810444"><strong id="rts_03_0059__rts_03_0025_b956007905">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51%" id="mcps1.3.7.3.2.4.1.3"><p id="rts_03_0059__rts_03_0025_p9959161020418"><strong id="rts_03_0059__rts_03_0025_b359171417">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="rts_03_0059__rts_03_0025_row179609103411"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0059__rts_03_0025_p896118101840">400</p>
</td>
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0059__rts_03_0025_p1296211015416">Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0059__rts_03_0025_p9963110146">The server failed to process the request.</p>
</td>
</tr>
<tr id="rts_03_0059__rts_03_0025_row181330274199"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0059__rts_03_0025_p18134027201912">401</p>
</td>
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0059__rts_03_0025_p1713419274191">Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0059__rts_03_0025_p11134162718196">Authorization failed.</p>
</td>
</tr>
<tr id="rts_03_0059__rts_03_0025_row16531631121913"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0059__rts_03_0025_en-us_topic_0057973122_p5338333194217">404</p>
</td>
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0059__rts_03_0025_p125520290312">Not found</p>
</td>
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0059__rts_03_0025_en-us_topic_0057973122_p29751790194217">The requested resources are not found.</p>
</td>
</tr>
<tr id="rts_03_0059__rts_03_0025_row196097477276"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0059__rts_03_0025_p19789174972712">500</p>
</td>
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0059__rts_03_0025_p779364918272">Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0059__rts_03_0025_p196546319198">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rts_03_0050.html">Software Configuration Management</a></div>
</div>
</div>