SMN API 20220929 v1

Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
This commit is contained in:
guoyanyan 2022-11-10 09:15:21 +00:00 committed by zuul
parent a35535e923
commit feae604f17
74 changed files with 6632 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
version=""
language="en-us"
type=""

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@ -0,0 +1,8 @@
<a name="en-us_topic_0036017316"></a><a name="en-us_topic_0036017316"></a>
<h1 class="topictitle1">API Usage Guidelines</h1>
<div id="body8662426"><p id="en-us_topic_0036017316__p105121142811">Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: <em id="en-us_topic_0036017316__en-us_topic_0020507759_i1385069210259">https://Endpoint/uri</em>. In the URL, <strong id="en-us_topic_0036017316__en-us_topic_0020507759_b5754736910259">uri</strong> indicates the resource path, that is, the API access path.</p>
<p id="en-us_topic_0036017316__p26499422919">Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by <strong id="en-us_topic_0036017316__en-us_topic_0020507759_b3082532510259">Application/json</strong>.</p>
<p id="en-us_topic_0036017316__p42011412113016">For details about how to use APIs, see <a href="https://docs.otc.t-systems.com/en-us/api/apiug/apig-en-api-180328001.html?tag=API Documents" target="_blank" rel="noopener noreferrer">API Usage Guidelines</a>.</p>
</div>

View File

@ -0,0 +1 @@
var expandClassName="dropdownexpand";var collapseClassName="dropdowncollapse";var collapseTableClassName="dropdowncollapsetable";function ExpandorCollapseNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseClassName}else{a.className=expandClassName}}function ExpandorCollapseTableNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseTableClassName}else{a.className=expandClassName}}function ExpandorCollapseAllNodes(g,h,c){var a=g.getAttribute("title");var b=g.parentNode;if(a=="collapse"){g.setAttribute("title","expand");g.className="dropdownAllButtonexpand";g.innerHTML=h}else{g.setAttribute("title","collapse");g.className="dropdownAllButtoncollapse";g.innerHTML=c}var f=b.getElementsByTagName("*");for(var d=0;d<f.length;d++){var e=f[d];if(e.className.indexOf(expandClassName)!=-1||e.className.indexOf(collapseClassName)!=-1||e.className.indexOf(collapseTableClassName)!=-1){if(a=="collapse"){if(e.tagName.toLowerCase()=="table"){e.className=collapseTableClassName}else{e.className=collapseClassName}}else{e.className=expandClassName}}}}function ExpandForHref(d){if(null==d){return}var a=$$(d).parents("."+collapseClassName);if(null!=a&&a.size()>0){for(var b=0;b<a.size();b++){var c=a[b];c.setAttribute("class",expandClassName)}}a=$$(d).parents("."+collapseTableClassName);if(null!=a&&a.size()>0){for(var b=0;b<a.size();b++){var c=a[b];c.setAttribute("class",expandClassName)}}}window.onload=function(){var b=document.getElementsByTagName("div");for(var c=0;c<b.length;c++){var d=b[c];if(d.className.indexOf(expandClassName)!=-1){d.className=collapseClassName}}};

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.msgph{font-family:Courier New;}.unresolved{background-color:skyblue;}.noTemplate{background-color:yellow;}.base{background-color:#ffffff;}.nested0{margin-top:1em;}.p{margin-top:1em;}.figcap{font-style:italic;}.figdesc{font-style:normal;}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver;}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver;}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver;}.figbottom{border-bottom:2px solid;border-color:Silver;}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver;}.ullinks{list-style-type:none;}.ulchildlink{margin-top:1em;margin-bottom:1em;}.olchildlink{margin-top:1em;margin-bottom:1em;}.linklist{margin-top:1em;margin-bottom:1em;}.linklistwithchild{margin-top:1em;margin-right:1.5em;margin-bottom:1em;}.sublinklist{margin-top:1em;margin-right:1.5em;margin-bottom:1em;}.relconcepts{margin-top:1em;margin-bottom:1em;}.reltasks{margin-top:1em;margin-bottom:1em;}.relref{margin-top:1em;margin-bottom:1em;}.relinfo{margin-top:1em;margin-bottom:1em;}.breadcrumb{font-size:smaller;margin-bottom:1em;}.prereq{margin-right:20px;}.topictitle1{margin-top:0;margin-bottom:.1em;font-size:1.34em;}.topictitle2{margin-top:1pc;margin-bottom:.45em;font-size:1.17em;}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-size:1.17em;font-weight:bold;}.topictitle4{margin-top:.83em;font-size:1.17em;font-weight:bold;}.topictitle5{font-size:1.17em;font-weight:bold;}.topictitle6{font-size:1.17em;font-style:italic;}.sectiontitle{margin-top:1em;margin-bottom:0;color:black;font-size:1.17em;font-weight:bold;}.section{margin-top:1em;margin-bottom:1em;}.example{margin-top:1em;margin-bottom:1em;}.note{margin-top:1em;margin-bottom:1em;}.notetitle{font-weight:bold;}.notelisttitle{font-weight:bold;}.tip{margin-top:1em;margin-bottom:1em;}.tiptitle{font-weight:bold;}.fastpath{margin-top:1em;margin-bottom:1em;}.fastpathtitle{font-weight:bold;}.important{margin-top:1em;margin-bottom:1em;}.importanttitle{font-weight:bold;}.remember{margin-top:1em;margin-bottom:1em;}.remembertitle{font-weight:bold;}.restriction{margin-top:1em;margin-bottom:1em;}.restrictiontitle{font-weight:bold;}.attention{margin-top:1em;margin-bottom:1em;}.attentiontitle{font-weight:bold;}.dangertitle{font-weight:bold;}.danger{margin-top:1em;margin-bottom:1em;}.warningtitle{font-weight:bold;}.warning{margin-top:1em;margin-bottom:1em;}.noticetitle{font-weight:bold;}.notice{margin-top:1em;margin-bottom:1em;}.cautiontitle{font-weight:bold;}.caution{font-weight:bold;margin-bottom:1em;}ul.simple{list-style-type:none;}.firstcol{font-weight:bold;}.bold{font-weight:bold;}.boldItalic{font-weight:bold;font-style:italic;}.italic{font-style:italic;}.underlined{text-decoration:underline;}.uicontrol{font-weight:bold;}.parmname{font-weight:bold;}.var{font-style:italic;}.shortcut{text-decoration:underline;}.dlterm{font-weight:bold;}.dltermexpand{font-weight:bold;margin-top:1em;}*[compact="yes"]>li{margin-top:0;}*[compact="no"]>li{margin-top:.53em;}.liexpand{margin-top:1em;margin-bottom:1em;}.sliexpand{margin-top:1em;margin-bottom:1em;}.dlexpand{margin-top:1em;margin-bottom:1em;}.ddexpand{margin-top:1em;margin-bottom:1em;}.stepexpand{margin-top:1em;margin-bottom:1em;}.substepexpand{margin-top:1em;margin-bottom:1em;}div.imageleft{text-align:left;}div.imagecenter{text-align:center;}div.imageright{text-align:right;}div.imagejustify{text-align:justify;}.cellrowborder{border-right:none;border-top:none;border-left:solid 1px;border-bottom:solid 1px;}.row-nocellborder{border-left:none;border-right:none;border-top:none;border-left:hidden;border-bottom:solid 1px;}.cell-norowborder{border-top:none;border-bottom:none;border-right:none;border-bottom:hidden;border-left:solid 1px;}.nocellnorowborder{border:none;border-left:hidden;border-bottom:hidden;}pre.screen{padding:5px 5px 5px 5px;border:outset;background-color:#CCCCCC;margin-top:2px;margin-bottom:2px;white-space:pre;}pre.codeblock{padding:5px 5px 5px 5px;border:outset;background-color:#CCCCCC;margin-top:2px;margin-bottom:2px;white-space:pre;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1 @@
var i=0;var dhtmlgoodies_tooltipFlag=false;var dhtmlgoodies_tooltip="";var dhtmlgoodies_tooltipShadow="";var dhtmlgoodies_shadowSize=3;var dhtmlgoodies_tooltipMaxWidth=500;var dhtmlgoodies_tooltipMinWidth=100;var dhtmlgoodies_iframe=false;var timeId;var clickFlag=false;var tooltip_is_msie=(navigator.userAgent.indexOf("MSIE")>=0&&navigator.userAgent.indexOf("opera")==-1&&document.all)?true:false;var xPos;var yPos;window.document.onmousemove=function(a){a=a||window.event;if(a.pageX){xPos=a.pageX;yPos=a.pageY}else{if(document.body!=null){xPos=a.clientX+document.body.scrollLeft-document.body.clientLeft;yPos=a.clientY+document.body.scrollTop-document.body.clientTop}}};function showTooltip(tooltipTxt){if(document.body==null){return}if(i==0){return}clickFlag=true;var text=eval("jsonData."+tooltipTxt);var bodyWidth=Math.max(document.body.clientWidth,document.documentElement.clientWidth)-20;if(!dhtmlgoodies_tooltipFlag){dhtmlgoodies_tooltip=document.createElement("DIV");dhtmlgoodies_tooltip.id="dhtmlgoodies_tooltip";dhtmlgoodies_tooltipShadow=document.createElement("DIV");dhtmlgoodies_tooltipShadow.id="dhtmlgoodies_tooltipShadow";document.body.appendChild(dhtmlgoodies_tooltip);document.body.appendChild(dhtmlgoodies_tooltipShadow);if(tooltip_is_msie){dhtmlgoodies_iframe=document.createElement("IFRAME");dhtmlgoodies_iframe.frameborder="5";dhtmlgoodies_iframe.style.backgroundColor="#FFFFFF";dhtmlgoodies_iframe.src="#";dhtmlgoodies_iframe.style.zIndex=100;dhtmlgoodies_iframe.style.position="absolute";document.body.appendChild(dhtmlgoodies_iframe)}}dhtmlgoodies_tooltip.style.display="block";dhtmlgoodies_tooltipShadow.style.display="block";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="block"}var st=Math.max(document.body.scrollTop,document.documentElement.scrollTop);if(navigator.userAgent.toLowerCase().indexOf("safari")>=0){st=0}var leftPos=xPos+10;dhtmlgoodies_tooltip.style.width=null;dhtmlgoodies_tooltip.innerHTML=text;dhtmlgoodies_tooltip.style.left=leftPos+"px";if(tooltip_is_msie){dhtmlgoodies_tooltip.style.top=yPos+20+st+"px"}else{dhtmlgoodies_tooltip.style.top=yPos+20+"px"}dhtmlgoodies_tooltipShadow.style.left=leftPos+dhtmlgoodies_shadowSize+"px";if(tooltip_is_msie){dhtmlgoodies_tooltipShadow.style.top=yPos+20+st+dhtmlgoodies_shadowSize+"px"}else{dhtmlgoodies_tooltipShadow.style.top=yPos+20+dhtmlgoodies_shadowSize+"px"}if(dhtmlgoodies_tooltip.offsetWidth>dhtmlgoodies_tooltipMaxWidth){dhtmlgoodies_tooltip.style.width=dhtmlgoodies_tooltipMaxWidth+"px"}var tooltipWidth=dhtmlgoodies_tooltip.offsetWidth;if(tooltipWidth<dhtmlgoodies_tooltipMinWidth){tooltipWidth=dhtmlgoodies_tooltipMinWidth}dhtmlgoodies_tooltip.style.width=tooltipWidth+"px";dhtmlgoodies_tooltipShadow.style.width=dhtmlgoodies_tooltip.offsetWidth+"px";dhtmlgoodies_tooltipShadow.style.height=dhtmlgoodies_tooltip.offsetHeight+"px";if((leftPos+tooltipWidth)>bodyWidth){dhtmlgoodies_tooltip.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((leftPos+tooltipWidth)-bodyWidth))+"px";dhtmlgoodies_tooltipShadow.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((leftPos+tooltipWidth)-bodyWidth)+dhtmlgoodies_shadowSize)+"px"}if(tooltip_is_msie){dhtmlgoodies_iframe.style.left=dhtmlgoodies_tooltip.style.left;dhtmlgoodies_iframe.style.top=dhtmlgoodies_tooltip.style.top;dhtmlgoodies_iframe.style.width=dhtmlgoodies_tooltip.offsetWidth+"px";dhtmlgoodies_iframe.style.height=dhtmlgoodies_tooltip.offsetHeight+"px"}}function hideTooltip(){i=0;clickFlag=false;if(dhtmlgoodies_tooltip!=null&&dhtmlgoodies_tooltip.style!=null){dhtmlgoodies_tooltip.style.display="none";dhtmlgoodies_tooltipShadow.style.display="none";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="none"}}if(timeId!=null&&timeId!=""){clearTimeout(timeId)}}function showText(a){i=1;timeId=setTimeout(function(){showTooltip(a)},500)}function showText2(a){if(!clickFlag){i=1;showTooltip(a);i=0;if(timeId!=null&&timeId!=""){clearTimeout(timeId)}}}function anchorScroll(b){var d=document.getElementsByName(b);if(d!=null&&d.length>0){var c=d[0];var a=c.getBoundingClientRect().left+(document.body.scrollLeft||(document.documentElement&&document.documentElement.scrollLeft));var e=c.getBoundingClientRect().top+(document.body.scrollTop||(document.documentElement&&document.documentElement.scrollTop));window.scrollTo(a,e-30)}};

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,23 @@
<a name="smn_api_50000"></a><a name="smn_api_50000"></a>
<h1 class="topictitle1">APIs</h1>
<div id="body1536633103658"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="smn_api_51000.html">Topic Operations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_52000.html">Subscription Operations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_53000.html">Template Operation</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_54000.html">Message Publishing</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_55000.html">SMS Message Operations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_56000.html">Resource Tag Operations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_510000.html">Version Querying</a></strong><br>
</li>
</ul>
</div>

View File

@ -0,0 +1,31 @@
<a name="smn_api_51000"></a><a name="smn_api_51000"></a>
<h1 class="topictitle1">Topic Operations</h1>
<div id="body9196329"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="smn_api_51001.html">Creating a Topic</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51002.html">Modifying a Topic</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51003.html">Deleting a Topic</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51004.html">Querying Topics</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51005.html">Querying Topic Details</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51006.html">Querying Topic Attributes</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51007.html">Modifying Topic Attributes</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51008.html">Deleting a Specified Topic Attribute</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_51009.html">Deleting All Topic Attributes</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_50000.html">APIs</a></div>
</div>
</div>

View File

@ -0,0 +1,17 @@
<a name="smn_api_510000"></a><a name="smn_api_510000"></a>
<h1 class="topictitle1">Version Querying</h1>
<div id="body1538011519912"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="smn_api_510001.html">Listing All SMN API Versions</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_510002.html">Querying the SMN API v2 Version</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_50000.html">APIs</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,83 @@
<a name="smn_api_51003"></a><a name="smn_api_51003"></a>
<h1 class="topictitle1">Deleting a Topic</h1>
<div id="body49755431"><div class="section" id="smn_api_51003__en-us_topic_0025373766"><h4 class="sectiontitle">Description</h4><ul id="smn_api_51003__ul33304380203733"><li id="smn_api_51003__li51147505203733">API name<p id="smn_api_51003__p38624841203741">DeleteTopic</p>
</li></ul>
<ul id="smn_api_51003__ul20998054203745"><li id="smn_api_51003__li46884910203750">Function<p id="smn_api_51003__p6137736194410">Delete a topic and its subscribers. If a topic is deleted, a pending message will fail to deliver to the topic subscribers.</p>
</li></ul>
</div>
<div class="section" id="smn_api_51003__section6556909"><h4 class="sectiontitle">URI</h4><ul id="smn_api_51003__ul27869743"><li id="smn_api_51003__li49501095">URI format<p id="smn_api_51003__p42856673">DELETE /v2/{project_id}/notifications/topics/{topic_urn}</p>
</li></ul>
<ul id="smn_api_51003__ul50165743"><li id="smn_api_51003__li48838504">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_51003__table36893359" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_51003__row46277382"><th align="left" class="cellrowborder" valign="top" width="21.862186218621858%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="smn_api_51003__p57480441"><strong id="smn_api_51003__b842352706191030">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.122212221222124%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="smn_api_51003__p25404116"><strong id="smn_api_51003__b593421527191713">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.122212221222124%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="smn_api_51003__p44467520"><strong id="smn_api_51003__b84235270619112">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.89338933893389%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="smn_api_51003__p45099364"><strong id="smn_api_51003__b84235270619115">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_51003__row13951479"><td class="cellrowborder" valign="top" width="21.862186218621858%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51003__p56327989">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.122212221222124%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51003__p66273227">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="22.122212221222124%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51003__p66531170">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.89338933893389%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51003__p12084664154931">Project ID</p>
<p id="smn_api_51003__p20315681">See <a href="smn_api_66000.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="smn_api_51003__row46181951"><td class="cellrowborder" valign="top" width="21.862186218621858%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51003__p49750539">topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="22.122212221222124%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51003__p3261819">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="22.122212221222124%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51003__p62880759">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.89338933893389%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51003__p60176744">Unique resource ID of a topic. You can obtain it according to <a href="smn_api_51004.html">Querying Topics</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="smn_api_51003__section59012183"><h4 class="sectiontitle">Request</h4><div class="p" id="smn_api_51003__p1264481211561">Request example<pre class="screen" id="smn_api_51003__screen65205470104442">DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regionId:f96188c7ccaf4ffba0c9aa149ab2bd57:test_topic_v2</pre>
</div>
</div>
<div class="section" id="smn_api_51003__section61347601"><h4 class="sectiontitle">Response</h4><ul id="smn_api_51003__ul123050"><li id="smn_api_51003__li1107452">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_51003__table9967070" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_51003__row65063572"><th align="left" class="cellrowborder" valign="top" width="31.443144314431443%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="smn_api_51003__p35658012"><strong id="smn_api_51003__b1954561229">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="31.443144314431443%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="smn_api_51003__p2617844"><strong id="smn_api_51003__b996406409">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.11371137113711%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="smn_api_51003__p10718788"><strong id="smn_api_51003__b1242165385">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_51003__row62991470"><td class="cellrowborder" valign="top" width="31.443144314431443%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="smn_api_51003__p2035480">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="31.443144314431443%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="smn_api_51003__p30656219">String</p>
</td>
<td class="cellrowborder" valign="top" width="37.11371137113711%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="smn_api_51003__p125790">Request ID, which is unique</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="smn_api_51003__li24592149">Response example<pre class="screen" id="smn_api_51003__screen1458107919144">{
"request_id": " 5fcba32bd2814ea39431829c22bda94b",
}</pre>
</li></ul>
</div>
<div class="section" id="smn_api_51003__section15257500"><h4 class="sectiontitle">Returned Value</h4><p id="smn_api_51003__p40040492">See section <a href="smn_api_63002.html">Returned Value</a>.</p>
</div>
<div class="section" id="smn_api_51003__section73211020122511"><h4 class="sectiontitle">Error Code</h4><p id="smn_api_51003__p9759142919265">See section <a href="smn_api_64000.html">Error Code</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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,93 @@
<a name="smn_api_51008"></a><a name="smn_api_51008"></a>
<h1 class="topictitle1">Deleting a Specified Topic Attribute</h1>
<div id="body1474599764599"><div class="section" id="smn_api_51008__section64935954"><h4 class="sectiontitle">Description</h4><ul id="smn_api_51008__ul33304380203733"><li id="smn_api_51008__li51147505203733">API name<p id="smn_api_51008__p38624841203741">DeleteTopicAttributeByName</p>
</li></ul>
<ul id="smn_api_51008__ul20998054203745"><li id="smn_api_51008__li46884910203750">Function<p id="smn_api_51008__p4186593495020">Delete a specified topic attribute.</p>
</li></ul>
</div>
<div class="section" id="smn_api_51008__section47552675"><h4 class="sectiontitle">URI</h4><ul id="smn_api_51008__ul30639779"><li id="smn_api_51008__li7322556">URI format<p id="smn_api_51008__p65903005">DELETE /v2/{project_id}/notifications/topics/{topic_urn}/attributes/{name}</p>
</li></ul>
<ul id="smn_api_51008__ul56256135"><li id="smn_api_51008__li36543171">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_51008__table60453091" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_51008__row31471768"><th align="left" class="cellrowborder" valign="top" width="21.46%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="smn_api_51008__p66185246"><strong id="smn_api_51008__b842352706191030">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.7%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="smn_api_51008__p59404709"><strong id="smn_api_51008__b593421527191713">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.310000000000002%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="smn_api_51008__p47052116"><strong id="smn_api_51008__b84235270619112">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="31.53%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="smn_api_51008__p53125076"><strong id="smn_api_51008__b84235270619115">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_51008__row57297510"><td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51008__p10586695">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51008__p52215961">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="24.310000000000002%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51008__p1634435">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.53%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51008__p35765041155042">Project ID</p>
<p id="smn_api_51008__p65280430">See <a href="smn_api_66000.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="smn_api_51008__row9249362"><td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51008__p11000853">topic_urn</p>
</td>
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51008__p18653909">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="24.310000000000002%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51008__p34571641">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.53%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51008__p48839530">Unique resource ID of a topic. You can obtain it according to <a href="smn_api_51004.html">Querying Topics</a>.</p>
</td>
</tr>
<tr id="smn_api_51008__row5965394515386"><td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_51008__p14783623153811">name</p>
</td>
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_51008__p56622849153811">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="24.310000000000002%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_51008__p23048084153811">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.53%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_51008__p54955495153811">Attribute name</p>
<p id="smn_api_51008__p2749131513324">Only specified attribute names are supported. For details, see section <a href="smn_api_a1000.html">Topic Attribute List</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="smn_api_51008__section25320898"><h4 class="sectiontitle">Request</h4><div class="p" id="smn_api_51008__p4773384111587">Example request<pre class="screen" id="smn_api_51008__screen4488935310472">DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/{topic_urn}/attributes/access_policy</pre>
</div>
</div>
<div class="section" id="smn_api_51008__section26561495"><h4 class="sectiontitle">Response</h4><ul id="smn_api_51008__ul42729680"><li id="smn_api_51008__li49022807">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_51008__table38552084" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_51008__row10058158"><th align="left" class="cellrowborder" valign="top" width="32.12678732126787%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="smn_api_51008__p9404449"><strong id="smn_api_51008__b1554253775">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.12678732126787%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="smn_api_51008__p23562876"><strong id="smn_api_51008__b1090510174">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.746425357464254%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="smn_api_51008__p29544808"><strong id="smn_api_51008__b271585961">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_51008__row33089041"><td class="cellrowborder" valign="top" width="32.12678732126787%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="smn_api_51008__p62966687">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="32.12678732126787%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="smn_api_51008__p27997">String</p>
</td>
<td class="cellrowborder" valign="top" width="35.746425357464254%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="smn_api_51008__p2267763">Request ID, which is unique</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="smn_api_51008__li32325424">Example response<pre class="screen" id="smn_api_51008__screen4172555319825">{
"request_id":"6837531fd3f54550927b930180a706bf"
}</pre>
</li></ul>
</div>
<div class="section" id="smn_api_51008__section37726867"><h4 class="sectiontitle">Returned Value</h4><p id="smn_api_51008__p64140254">See <a href="smn_api_63002.html">Returned Value</a>.</p>
</div>
<div class="section" id="smn_api_51008__section73211020122511"><h4 class="sectiontitle">Error Code</h4><p id="smn_api_51008__p9759142919265">See <a href="smn_api_64000.html">Error Code</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>

View File

@ -0,0 +1,83 @@
<a name="smn_api_51009"></a><a name="smn_api_51009"></a>
<h1 class="topictitle1">Deleting All Topic Attributes</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">DeleteTopicAttributes</p>
</li></ul>
<ul id="smn_api_51009__ul20998054203745"><li id="smn_api_51009__li46884910203750">Function<p id="smn_api_51009__p4186593495020">Delete all topic attributes.</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">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 according to <a href="smn_api_51004.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__b6763481">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__b1292529250">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__b1971668335">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 section <a href="smn_api_63002.html">Returned Value</a>.</p>
</div>
<div class="section" id="smn_api_51009__section73211020122511"><h4 class="sectiontitle">Error Code</h4><p id="smn_api_51009__p9759142919265">See section <a href="smn_api_64000.html">Error Code</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>

View File

@ -0,0 +1,21 @@
<a name="smn_api_52000"></a><a name="smn_api_52000"></a>
<h1 class="topictitle1">Subscription Operations</h1>
<div id="body59763787"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="smn_api_52001.html">Querying Subscriptions</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_52002.html">Querying Subscriptions of a Specified Topic</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_52003.html">Adding a Subscription</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_52004.html">Deleting a Subscription</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_50000.html">APIs</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,83 @@
<a name="smn_api_52004"></a><a name="smn_api_52004"></a>
<h1 class="topictitle1">Deleting a Subscription</h1>
<div id="body41254304"><div class="section" id="smn_api_52004__section66924213"><h4 class="sectiontitle">Description</h4><ul id="smn_api_52004__ul33304380203733"><li id="smn_api_52004__li51147505203733">API name<p id="smn_api_52004__p38624841203741">Unsubscribe</p>
</li></ul>
<ul id="smn_api_52004__ul20998054203745"><li id="smn_api_52004__li46884910203750">Function<p id="smn_api_52004__p53264332">Delete a specified subscription.</p>
</li></ul>
</div>
<div class="section" id="smn_api_52004__section65447007"><h4 class="sectiontitle">URI</h4><ul id="smn_api_52004__ul19443632"><li id="smn_api_52004__li40774967">URI format<p id="smn_api_52004__p31430389">DELETE /v2/{project_id}/notifications/subscriptions/{subscription_urn}</p>
</li></ul>
<ul id="smn_api_52004__ul14438051"><li id="smn_api_52004__li62833603">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_52004__table28631516" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_52004__row30400092"><th align="left" class="cellrowborder" valign="top" width="29.7%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="smn_api_52004__p46488363"><strong id="smn_api_52004__b842352706191030">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.3%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="smn_api_52004__p7461047"><strong id="smn_api_52004__b593421527191713">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="smn_api_52004__p365031"><strong id="smn_api_52004__b84235270619112">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="smn_api_52004__p29567523"><strong id="smn_api_52004__b84235270619115">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_52004__row47906786"><td class="cellrowborder" valign="top" width="29.7%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_52004__p55244468">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20.3%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_52004__p45616947">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_52004__p3985222">String</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_52004__p20960620155139">Project ID</p>
<p id="smn_api_52004__p54367574">See <a href="smn_api_66000.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="smn_api_52004__row39731869"><td class="cellrowborder" valign="top" width="29.7%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_52004__p64164835">subscription_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20.3%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_52004__p29969153">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_52004__p11582368">String</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_52004__p65756648">Unique resource ID of a topic. You can obtain it according to <a href="smn_api_52001.html">Querying Subscriptions</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="smn_api_52004__section52152158"><h4 class="sectiontitle">Request</h4><div class="p" id="smn_api_52004__p2385067193359">Request example<pre class="screen" id="smn_api_52004__screen38650186105018">DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/subscriptions/urn:smn:regionId:762bdb3251034f268af0e395c53ea09b:test_topic_v1:2e778e84408e44058e6cbc6d3c377837</pre>
</div>
</div>
<div class="section" id="smn_api_52004__section66716242"><h4 class="sectiontitle">Response</h4><ul id="smn_api_52004__ul24283812"><li id="smn_api_52004__li17227723">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_52004__table20831783" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_52004__row35093725"><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_52004__p24019444"><strong id="smn_api_52004__b808139197">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_52004__p66526832"><strong id="smn_api_52004__b318690054">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_52004__p19964345"><strong id="smn_api_52004__b349226858">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_52004__row56677584"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="smn_api_52004__p27481582">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_52004__p11415673">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_52004__p52254296">Request ID, which is unique</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="smn_api_52004__li42656148">Response example<pre class="screen" id="smn_api_52004__screen38952519193215">{
"request_id":"f3197b274a6b473a8007eed79e716c30"
}</pre>
</li></ul>
</div>
<div class="section" id="smn_api_52004__section63575268"><h4 class="sectiontitle">Returned Value</h4><p id="smn_api_52004__p53026001">See section <a href="smn_api_63002.html">Returned Value</a>.</p>
</div>
<div class="section" id="smn_api_52004__section73211020122511"><h4 class="sectiontitle">Error Code</h4><p id="smn_api_52004__p9759142919265">See section <a href="smn_api_64000.html">Error Code</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_52000.html">Subscription Operations</a></div>
</div>
</div>

View File

@ -0,0 +1,23 @@
<a name="smn_api_53000"></a><a name="smn_api_53000"></a>
<h1 class="topictitle1">Template Operation</h1>
<div id="body6578555"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="smn_api_53001.html">Creating a Message Template</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_53002.html">Modifying a Message Template</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_53003.html">Deleting a Message Template</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_53004.html">Querying Message Templates</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="smn_api_53005.html">Querying the Message Template Details</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_50000.html">APIs</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,83 @@
<a name="smn_api_53003"></a><a name="smn_api_53003"></a>
<h1 class="topictitle1">Deleting a Message Template</h1>
<div id="body63687043"><div class="section" id="smn_api_53003__section63379561"><h4 class="sectiontitle">Description</h4><ul id="smn_api_53003__ul33304380203733"><li id="smn_api_53003__li51147505203733">API name<p id="smn_api_53003__p38624841203741">DeleteMessageTemplate</p>
</li></ul>
<ul id="smn_api_53003__ul20998054203745"><li id="smn_api_53003__li46884910203750">Function<p id="smn_api_53003__p3115201610926">Delete a message template. After you delete the template, you cannot use it to publish messages any more.</p>
</li></ul>
</div>
<div class="section" id="smn_api_53003__section33545144"><h4 class="sectiontitle">URI</h4><ul id="smn_api_53003__ul30902896"><li id="smn_api_53003__li9690616">URI format<p id="smn_api_53003__p20106686">DELETE /v2/{project_id}/notifications/message_template/{message_template_id}</p>
</li></ul>
<ul id="smn_api_53003__ul46742451"><li id="smn_api_53003__li18028880">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_53003__table28042199" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_53003__row949529"><th align="left" class="cellrowborder" valign="top" width="29.299999999999997%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="smn_api_53003__p9803039"><strong id="smn_api_53003__b842352706191030">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.52%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="smn_api_53003__p55848701"><strong id="smn_api_53003__b593421527191713">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.91%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="smn_api_53003__p27450972"><strong id="smn_api_53003__b84235270619112">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="34.27%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="smn_api_53003__p8936292"><strong id="smn_api_53003__b84235270619115">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_53003__row44975500"><td class="cellrowborder" valign="top" width="29.299999999999997%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_53003__p19136893">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="18.52%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_53003__p6584502">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_53003__p63582688">String</p>
</td>
<td class="cellrowborder" valign="top" width="34.27%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_53003__p35042050155257">Project ID</p>
<p id="smn_api_53003__p49924131">See <a href="smn_api_66000.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="smn_api_53003__row21687383"><td class="cellrowborder" valign="top" width="29.299999999999997%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="smn_api_53003__p11847581">message_template_id</p>
</td>
<td class="cellrowborder" valign="top" width="18.52%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="smn_api_53003__p20130041">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.91%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="smn_api_53003__p19920592">String</p>
</td>
<td class="cellrowborder" valign="top" width="34.27%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="smn_api_53003__p2955276">Unique resource ID of a topic. You can obtain it according to <a href="smn_api_53004.html">Querying Message Templates</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="smn_api_53003__section33470841"><h4 class="sectiontitle">Request</h4><div class="p" id="smn_api_53003__p21499831124348">Request example<pre class="screen" id="smn_api_53003__screen2178814105153">DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/message_template/b3ffa2cdda574168826316f0628f774e</pre>
</div>
</div>
<div class="section" id="smn_api_53003__section32802119"><h4 class="sectiontitle">Response</h4><ul id="smn_api_53003__ul62503562"><li id="smn_api_53003__li25661150">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="smn_api_53003__table29623765" frame="border" border="1" rules="all"><thead align="left"><tr id="smn_api_53003__row55864401"><th align="left" class="cellrowborder" valign="top" width="32.28322832283228%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="smn_api_53003__p28722627"><strong id="smn_api_53003__b929850706">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.28322832283228%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="smn_api_53003__p44831437"><strong id="smn_api_53003__b433012975">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.433543354335434%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="smn_api_53003__p7467800"><strong id="smn_api_53003__b1815187841">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="smn_api_53003__row6769295"><td class="cellrowborder" valign="top" width="32.28322832283228%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="smn_api_53003__p11442060">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="32.28322832283228%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="smn_api_53003__p54391657">String</p>
</td>
<td class="cellrowborder" valign="top" width="35.433543354335434%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="smn_api_53003__p43648078">Request ID, which is unique</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="smn_api_53003__li9847817">Response example<pre class="screen" id="smn_api_53003__screen3882824419420">{
"request_id": " 5fcba32bd2814ea39431829c22bda94b"
}</pre>
</li></ul>
</div>
<div class="section" id="smn_api_53003__section26783618"><h4 class="sectiontitle">Returned Value</h4><p id="smn_api_53003__p38999745">See section <a href="smn_api_63002.html">Returned Value</a>.</p>
</div>
<div class="section" id="smn_api_53003__section73211020122511"><h4 class="sectiontitle">Error Code</h4><p id="smn_api_53003__p9759142919265">See section <a href="smn_api_64000.html">Error Code</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="smn_api_53000.html">Template Operation</a></div>
</div>
</div>

Some files were not shown because too many files have changed in this diff Show More