doc-exports/docs/smn/api-ref/smn_api_51009.html
Zaoxu, Li 152a7d9381 SMN API DOC
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-06-20 15:01:38 +00:00

84 lines
6.3 KiB
HTML

<a name="smn_api_51009"></a><a name="smn_api_51009"></a>
<h1 class="topictitle1">Deleting All Topic Policies</h1>
<div id="body1474599764601"><div class="section" id="smn_api_51009__section64935954"><h4 class="sectiontitle">Description</h4><ul id="smn_api_51009__ul33304380203733"><li id="smn_api_51009__li51147505203733">API name<p id="smn_api_51009__p38624841203741"><a name="smn_api_51009__li51147505203733"></a><a name="li51147505203733"></a>DeleteTopicAttributes</p>
</li></ul>
<ul id="smn_api_51009__ul20998054203745"><li id="smn_api_51009__li46884910203750">Function<p id="smn_api_51009__p4186593495020"><a name="smn_api_51009__li46884910203750"></a><a name="li46884910203750"></a>Delete all topic policies.</p>
</li></ul>
</div>
<div class="section" id="smn_api_51009__section47552675"><h4 class="sectiontitle">URI</h4><ul id="smn_api_51009__ul30639779"><li id="smn_api_51009__li7322556">URI format<p id="smn_api_51009__p50465783154215"><a name="smn_api_51009__li7322556"></a><a name="li7322556"></a>DELETE /v2/{project_id}/notifications/topics/{topic_urn}/attributes</p>
</li></ul>
<ul id="smn_api_51009__ul56256135"><li id="smn_api_51009__li36543171">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_51009__table60453091" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_51009__row31471768"><th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="smn_api_51009__p66185246"><strong id="smn_api_51009__b842352706191030">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.8%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="smn_api_51009__p59404709"><strong id="smn_api_51009__b593421527191713">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.669999999999998%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="smn_api_51009__p47052116"><strong id="smn_api_51009__b84235270619112">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.550000000000004%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="smn_api_51009__p53125076"><strong id="smn_api_51009__b84235270619115">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_51009__row57297510"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51009__p10586695">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="18.8%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51009__p52215961">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51009__p1634435">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.550000000000004%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51009__p51236319155052">Project ID</p>
<p id="smn_api_51009__p65280430">See <a href="smn_api_66000.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="smn_api_51009__row9249362"><td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51009__p11000853">topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="18.8%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51009__p18653909">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20.669999999999998%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51009__p34571641">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.550000000000004%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51009__p48839530">Unique resource ID of a topic. You can obtain it by referring to <a href="en-us_topic_0036016755.html">Querying Topics</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="smn_api_51009__section25320898"><h4 class="sectiontitle">Request</h4><div class="p" id="smn_api_51009__p4773384111587">Example request<pre class="screen" id="smn_api_51009__screen1009887104717">DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/{topic_urn}/attributes </pre>
</div>
</div>
<div class="section" id="smn_api_51009__section26561495"><h4 class="sectiontitle">Response</h4><ul id="smn_api_51009__ul42729680"><li id="smn_api_51009__li49022807">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_51009__table38552084" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_51009__row10058158"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="smn_api_51009__p9404449"><strong id="smn_api_51009__b1811493945">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="smn_api_51009__p23562876"><strong id="smn_api_51009__b698152908">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="smn_api_51009__p29544808"><strong id="smn_api_51009__b862572537">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_51009__row33089041"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="smn_api_51009__p62966687">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="smn_api_51009__p27997">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="smn_api_51009__p2267763">Request ID, which is unique</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="smn_api_51009__li32325424">Example response<pre class="screen" id="smn_api_51009__screen4172555319825">{
"request_id": "6837531fd3f54550927b930180a706bf"
}</pre>
</li></ul>
</div>
<div class="section" id="smn_api_51009__section37726867"><h4 class="sectiontitle">Returned Value</h4><p id="smn_api_51009__p64140254">See <a href="smn_api_63002.html">Returned Value</a>.</p>
</div>
<div class="section" id="smn_api_51009__section73211020122511"><h4 class="sectiontitle">Error Codes</h4><p id="smn_api_51009__p9759142919265">See <a href="smn_api_64000.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_51000.html">Topic Operations</a></div>
</div>
</div>