forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Mei, Sai <meisai@huawei.com> Co-committed-by: Mei, Sai <meisai@huawei.com>
125 lines
9.8 KiB
HTML
125 lines
9.8 KiB
HTML
<a name="en-us_topic_0218811270"></a><a name="en-us_topic_0218811270"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a PLAS Connector</h1>
|
|
<div id="body48505257"><div class="section" id="en-us_topic_0218811270__section28577753"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0218811270__p1551172734611">This API is used to delete a PLAS connector based on the connector ID. The deletion is asynchronous. Based on the URL returned, you can query the deletion progress.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0218811270__section55873191"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0218811270__ul12761279"><li id="en-us_topic_0218811270__li47742654">URI format<p id="en-us_topic_0218811270__p27030703"><a name="en-us_topic_0218811270__li47742654"></a><a name="li47742654"></a>DELETE /v1.0/plasconnector/connectors/{connector_id}</p>
|
|
</li><li id="en-us_topic_0218811270__li41949741">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0218811270__table42003352" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0218811270__row11895510"><th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="en-us_topic_0218811270__p24012292">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="en-us_topic_0218811270__p65947510">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="en-us_topic_0218811270__p40148117">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.97510248975102%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="en-us_topic_0218811270__p30772040">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0218811270__row9507320"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="en-us_topic_0218811270__p31895436">connector_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="en-us_topic_0218811270__p33393517">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="en-us_topic_0218811270__p20520322">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.97510248975102%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="en-us_topic_0218811270__p51533363">Indicates the PLAS connector ID.</p>
|
|
<p id="en-us_topic_0218811270__p61147090">The value is a string of 1 to 36 characters.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0218811270__section33096677"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0218811270__ul53967290"><li id="en-us_topic_0218811270__li15943564">Parameter description<p id="en-us_topic_0218811270__p9274354"><a name="en-us_topic_0218811270__li15943564"></a><a name="li15943564"></a>None</p>
|
|
</li><li id="en-us_topic_0218811270__li16360323">Sample request<pre class="codeblock" id="en-us_topic_0218811270__codeblock13025186">DELETE /v1.0/plasconnector/connectors/e7b778a7-5d94-4263-813f-4aec18473a5a HTTP/1.1 </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock50117815">Content-Type:application/json </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock48407155">Accept:application/json; </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock33011215">X-Auth-Token:MIIDwAYJKoZIhvcNAQcCoIIDsTCCA60CAQExDTALBglghkgB</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0218811270__section29434645"><h4 class="sectiontitle">Response</h4><ul id="en-us_topic_0218811270__ul56662772"><li id="en-us_topic_0218811270__li40202902">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0218811270__table26281805" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0218811270__row25119939"><th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="en-us_topic_0218811270__p21449175">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="en-us_topic_0218811270__p59661644">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="en-us_topic_0218811270__p755018">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.97510248975102%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="en-us_topic_0218811270__p61156472">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0218811270__row54727166"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="en-us_topic_0218811270__p3715461">location</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="en-us_topic_0218811270__p32516916">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="en-us_topic_0218811270__p16624564">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.97510248975102%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="en-us_topic_0218811270__p4412461">Indicates the URL, through which you can query the operation progress.</p>
|
|
<p id="en-us_topic_0218811270__p39712150">The value is a string of 1 to 255 characters.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0218811270__li21865030">Sample response<pre class="codeblock" id="en-us_topic_0218811270__codeblock62567542">HTTP/1.1 200 OK </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock26236967">Content-Type:application/json </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock34806114">Cache-Control:no-cache </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock44819577">HTTP/1.1 202 OK </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock723011">Content-Type:application/json </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock6507107">Cache-Control:no-cache </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock58563969"></pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock57313678">{ </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock46061059"> "location":"/v1.0/plasconnector/connectors/e7b778a7-5d94-4263-813f-4aec18473a5a/operations/95a44e38-5d61-44ca-a5c4-f241812fbd51" </pre>
|
|
<pre class="codeblock" id="en-us_topic_0218811270__codeblock11896354">} </pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0218811270__section63585214"><h4 class="sectiontitle">Returned Value</h4><ul id="en-us_topic_0218811270__ul24080581"><li id="en-us_topic_0218811270__li15398645">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0218811270__table4370082" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0218811270__row15411274"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.1.1.3.1.1"><p id="en-us_topic_0218811270__p40353647">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.1.1.3.1.2"><p id="en-us_topic_0218811270__p47419952">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0218811270__row15810935"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.1.1.3.1.1 "><p id="en-us_topic_0218811270__p5617321">200 OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.1.1.3.1.2 "><p id="en-us_topic_0218811270__p52349872">The PLAS connector is successfully deleted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0218811270__row1386807"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.1.1.3.1.1 "><p id="en-us_topic_0218811270__p45222552">202 OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.1.1.3.1.2 "><p id="en-us_topic_0218811270__p39148097">The request has been accepted for processing, but the processing has not been completed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0218811270__li16788561">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0218811270__table16879323" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0218811270__row6344714"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="en-us_topic_0218811270__p44159808">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="en-us_topic_0218811270__p20174732">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0218811270__row23540563"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="en-us_topic_0218811270__p27737471">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="en-us_topic_0218811270__p32142712">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0218811270__row20848957"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="en-us_topic_0218811270__p11043923">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="en-us_topic_0218811270__p22142570">The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0218811264.html">PLAS APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|