forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
221 lines
15 KiB
HTML
221 lines
15 KiB
HTML
<a name="DeleteChart"></a><a name="DeleteChart"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Chart</h1>
|
|
<div id="body32001227"><div class="section" id="DeleteChart__section4301141818538"><h4 class="sectiontitle">Function</h4><p id="DeleteChart__p1330110183534">This API is used to delete a chart.</p>
|
|
</div>
|
|
<div class="section" id="DeleteChart__en-us_topic_0000001896008853_atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="DeleteChart__p1030113183539">DELETE /v2/charts/{chart_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteChart__table1430313189539" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="DeleteChart__row53021518135313"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="DeleteChart__p330311895315">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="DeleteChart__p20303141815532">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="DeleteChart__p19303918145312">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="DeleteChart__p230361885315">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteChart__row230221805316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteChart__p930441805313">chart_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteChart__p4304191810530">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteChart__p16304018165316">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteChart__p10304161805314">Chart ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteChart__section1030461815537"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteChart__en-us_topic_0000001896008853_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="DeleteChart__row3305101875317"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="DeleteChart__p1230691816539">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="DeleteChart__p4306171835314">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="DeleteChart__p6307618155313">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="DeleteChart__p2307151825311">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteChart__row103051818115315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DeleteChart__p113088181534">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DeleteChart__p53084182537">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DeleteChart__p13308181816537">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DeleteChart__p175132048141618">Details:</p>
|
|
<p id="DeleteChart__p1513184851611">Request body type or format.</p>
|
|
<p id="DeleteChart__p363312163118">Constraints:</p>
|
|
<p id="DeleteChart__p86331116121112">The GET method is not verified.</p>
|
|
<p id="DeleteChart__p36336166115">Options:</p>
|
|
<ul id="DeleteChart__ul166331116111111"><li id="DeleteChart__li6633516101110">application/json</li><li id="DeleteChart__li1363351614116">application/json;charset=utf-8</li><li id="DeleteChart__li0633191617110">application/x-pem-file</li><li id="DeleteChart__li192591549143012">multipart/form-data (It can be used when the <strong id="DeleteChart__uploadchart_b1058912225107">FormData</strong> parameter exists.)</li></ul>
|
|
<p id="DeleteChart__p363331671112">Default value:</p>
|
|
<p id="DeleteChart__p5633151617112">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row73051418115315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DeleteChart__p8309118145317">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DeleteChart__p10309818145315">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DeleteChart__p1330961815533">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DeleteChart__p163091218195310">Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see <a href="cce_02_0004.html">API Usage Guidelines</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteChart__section10309418175318"><h4 class="sectiontitle">Response Parameters</h4><p id="DeleteChart__p108472032122411"><strong id="DeleteChart__b3847113217248">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteChart__response_ChartResp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="DeleteChart__row6847103212416"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="DeleteChart__p128471132132414">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="DeleteChart__p168472032152414">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="DeleteChart__p17847432162415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteChart__row7847113232411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p6847143217245">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p1184710322249">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p13847143210246">Chart ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row684717323247"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p15847173213245">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p1184813242411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p3848163252419">Chart name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row28471332142419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p18487324245">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p3848113282415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p18481732132411">Chart value</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row084753272418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p6848183292411">translate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p1848232182410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p1084833217240">Chart translation resources</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row68471732192416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p1848113213241">instruction</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p184823202411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p1684820323240">Chart description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row484703202415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p9848133210244">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p1084813222416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p1848113222411">Chart version</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row484773213247"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p38485325248">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p1848203212410">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p19848232122414">Chart description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row7847163212419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p6848732122416">source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p584818322248">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p284823212413">Chart source</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row1884719328240"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p2848103222416">icon_url</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p384863214247">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p1784863282416">URL to chart icons</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row1984712322248"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p14848163242416">public</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p118480325244">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p1184817329242">Whether the chart is public</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row484719325247"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p584893262413">chart_url</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p2084843262415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p484933262419">URL to the chart</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row08471032202411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p584913216249">create_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p184993210241">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p118494329243">Created at</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteChart__row784773242414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteChart__p138491032122410">update_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteChart__p1484916321248">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteChart__p884923211245">Updated at</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteChart__section163101518175319"><h4 class="sectiontitle">Example Requests</h4><p id="DeleteChart__p931031855318">None</p>
|
|
</div>
|
|
<div class="section" id="DeleteChart__section331091875312"><h4 class="sectiontitle">Example Responses</h4><p id="DeleteChart__p18491326240"><strong id="DeleteChart__b1584916323242">Status code: 200</strong></p>
|
|
<p id="DeleteChart__p18849103218247">OK</p>
|
|
<pre class="screen" id="DeleteChart__screen2849123215244">{
|
|
"id" : "e99a7e86-afdd-11eb-aca3-0255ac100b0e",
|
|
"name" : "neo4j",
|
|
"values" : "{\"acceptLicenseAgreement\":\"no\",\"affinity\":{},\"authEnabled\":true,\"clusterDomain\":\"cluster.local\",\"core\":{\"initContainers\":[],\"numberOfServers\":3,\"persistentVolume\":{\"enabled\":true,\"mountPath\":\"/data\",\"size\":\"10Gi\"},\"sidecarContainers\":[]},\"defaultDatabase\":\"neo4j\",\"image\":\"neo4j\",\"imagePullPolicy\":\"IfNotPresent\",\"imageTag\":\"4.0.3-enterprise\",\"name\":\"neo4j\",\"nodeSelector\":{},\"podDisruptionBudget\":{},\"readReplica\":{\"autoscaling\":{\"enabled\":false,\"maxReplicas\":3,\"minReplicas\":1,\"targetAverageUtilization\":70},\"initContainers\":[],\"numberOfServers\":0,\"resources\":{},\"sidecarContainers\":[]},\"resources\":{},\"testImage\":\"markhneedham/k8s-kubectl\",\"testImageTag\":\"master\",\"tolerations\":[],\"useAPOC\":\"true\"}",
|
|
"translate" : "",
|
|
"instruction" : "README.md",
|
|
"version" : "3.0.1",
|
|
"description" : "DEPRECATED Neo4j is the world's leading graph database",
|
|
"source" : "",
|
|
"icon_url" : "https://example.com/images/neo4j_logo.png",
|
|
"public" : false,
|
|
"chart_url" : "neo4j-3.0.1.tgz",
|
|
"create_at" : "2021-05-08T08:53:12Z",
|
|
"update_at" : "2021-05-08T08:53:12Z"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="DeleteChart__section1031061845315"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteChart__en-us_topic_0000001896008853_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="DeleteChart__row1031151855315"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="DeleteChart__p1131161885319">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="DeleteChart__p1231131818537">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteChart__row13116188534"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteChart__p1931219186532">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteChart__p17312418105314">OK</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteChart__section153121218145314"><h4 class="sectiontitle">Error Codes</h4><p id="DeleteChart__p173121118195318">See <a href="cce_02_0250.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="chart_lifecycle_management.html">Chart Management</a></div>
|
|
</div>
|
|
</div>
|
|
|