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_0026"></a><a name="mrs_02_0026"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Data Source</h1>
|
|
<div id="body1484116919792"><div class="section" id="mrs_02_0026__section11410068144834"><h4 class="sectiontitle">Function</h4><p id="mrs_02_0026__p30367694144836">This API is used to delete a data source. This API is compatible with Sahara.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_0026__section4721807314497"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_0026__u749b0e1d16034ea99b9d31909ce7ee80"><li id="mrs_02_0026__li11455125218466">Format<p id="mrs_02_0026__p14839101194713"><a name="mrs_02_0026__li11455125218466"></a><a name="li11455125218466"></a>DELETE /v1.1/{project_id}/data-sources/{data_source_id}</p>
|
|
</li><li id="mrs_02_0026__li831194172516">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0026__table49499141194754" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="mrs_02_0026__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_0026__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_0026__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_0026__p11454278194812">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0026__row6505449415356"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0026__p3492262515356">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_0026__p1016041415356">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_0026__p1768719515356">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_0026__row20659256153330"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0026__p62787041153330">data_source_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_0026__p52585595153330">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_0026__p31574830153330">Data source ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_0026__section31697334144924"><h4 class="sectiontitle">Request</h4><p id="mrs_02_0026__p819416241014"><strong id="mrs_02_0026__b139822112354">Request parameters</strong></p>
|
|
<p id="mrs_02_0026__p27389112109">None.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_0026__section10069032144933"><h4 class="sectiontitle">Response</h4><p id="mrs_02_0026__p6891534181015"><strong id="mrs_02_0026__b4516182183510">Response parameters</strong></p>
|
|
<p id="mrs_02_0026__p1010619393102">None.</p>
|
|
</div>
|
|
<div class="section" id="mrs_02_0026__section19194135931014"><h4 class="sectiontitle">Example</h4><ul id="mrs_02_0026__ul172515914113"><li id="mrs_02_0026__li157251498118">Example request<pre class="screen" id="mrs_02_0026__screen209191433184714">DELETE /v1.1/{project_id}/data-sources/{data_source_id}</pre>
|
|
</li><li id="mrs_02_0026__li945517153115">Example response<p id="mrs_02_0026__p18680165281213"><a name="mrs_02_0026__li945517153115"></a><a name="li945517153115"></a>None.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_02_0026__section13299747144948"><h4 class="sectiontitle">Status Code</h4><p id="mrs_02_0026__p5547365016031"><a href="#mrs_02_0026__table1584477916050">Table 2</a> describes the status code of this API.</p>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0026__table1584477916050"></a><a name="table1584477916050"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0026__table1584477916050" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Status code</caption><thead align="left"><tr id="mrs_02_0026__row1339492016050"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.3.2.3.1.1"><p id="mrs_02_0026__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_0026__p1158961516050">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0026__row3719767816050"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.3.1.1 "><p id="mrs_02_0026__p6022194016050">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.3.1.2 "><p id="mrs_02_0026__p4613894216050">The data source is deleted successfully.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_02_0026__p2536122255112">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_0021.html">Data Source APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|