forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
70 lines
5.1 KiB
HTML
70 lines
5.1 KiB
HTML
<a name="mrs_02_0048"></a><a name="mrs_02_0048"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Job Object</h1>
|
|
<div id="body1480125376815"><div class="section" id="mrs_02_0048__section4408504619327"><h4 class="sectiontitle">Function</h4><p id="mrs_02_0048__p5843728119329">This API is used to delete a job object. This API is compatible with Sahara.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_0048__section10186656193217"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_0048__ul2809877319471"><li id="mrs_02_0048__li5177607319471">Format<p id="mrs_02_0048__p59483855194713"><a name="mrs_02_0048__li5177607319471"></a><a name="li5177607319471"></a>DELETE /v1.1/{project_id}/jobs/{job_id}</p>
|
|
</li><li id="mrs_02_0048__li2957566119471">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0048__table49499141194754" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="mrs_02_0048__row33700024194754"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="mrs_02_0048__p16571835194812">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="mrs_02_0048__p141410194812">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="mrs_02_0048__p11454278194812">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0048__row12931900144556"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0048__p40851019144556">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="mrs_02_0048__p20598275144556">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="mrs_02_0048__p57847563144556">Project ID. For details on how to obtain the project ID, see <a href="mrs_02_0011.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0048__row693784194754"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0048__p56196540194754">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="mrs_02_0048__p56703698153439">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="mrs_02_0048__p29596849153439">Job object ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_0048__section11749164442314"><h4 class="sectiontitle">Request</h4><p id="mrs_02_0048__p1842961591514"><strong id="mrs_02_0048__b139822112354">Request parameters</strong></p>
|
|
<p id="mrs_02_0048__p106160258151">None.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_0048__section1575113448238"><h4 class="sectiontitle">Response</h4><p id="mrs_02_0048__p137610236182"><strong id="mrs_02_0048__b4516182183510">Response parameters</strong></p>
|
|
<p id="mrs_02_0048__p785103420187">None.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_0048__section1210015461189"><h4 class="sectiontitle">Example</h4><ul id="mrs_02_0048__ul1958913536182"><li id="mrs_02_0048__li1558945321814">Example request<p id="mrs_02_0048__p8671133419191"><a name="mrs_02_0048__li1558945321814"></a><a name="li1558945321814"></a>None.</p>
|
|
</li><li id="mrs_02_0048__li543710159193">Example response<p id="mrs_02_0048__p156441832121919"><a name="mrs_02_0048__li543710159193"></a><a name="li543710159193"></a>None.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_0048__section4391766619434"><h4 class="sectiontitle">Status Code</h4><p id="mrs_02_0048__p5547365016031"><a href="#mrs_02_0048__table1584477916050">Table 2</a> describes the status code of this API.</p>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0048__table1584477916050"></a><a name="table1584477916050"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0048__table1584477916050" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Status code</caption><thead align="left"><tr id="mrs_02_0048__row1339492016050"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.3.2.3.1.1"><p id="mrs_02_0048__p3411176516050">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.3.2.3.1.2"><p id="mrs_02_0048__p1158961516050">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0048__row3719767816050"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.3.1.1 "><p id="mrs_02_0048__p6022194016050">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.3.1.2 "><p id="mrs_02_0048__p4613894216050">The job object has been successfully deleted.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_02_0048__p138076491521">For the description about error status codes, see <a href="mrs_02_0015.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_02_0039.html">Job Object APIs (V1, Not Recommended)</a></div>
|
|
</div>
|
|
</div>
|
|
|