3.2 Delete collector
<p><strong>A brief description:</strong> </p>
<p>-Delete the interface of the collector</p>
<p><strong>Request URL:</strong>
-<code>http(s)://test.growatt.com/v1/device/datalogger/delete</code></p>
<p><strong>How to request:</strong>
-post</p>
<p><strong>Parameter:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter name</th>
<th style="text-align: left;">Is it required</th>
<th style="text-align: left;">Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">plant_id</td>
<td style="text-align: left;">yes</td>
<td style="text-align: left;">int</td>
<td>plant ID</td>
</tr>
<tr>
<td style="text-align: left;">sn</td>
<td style="text-align: left;">yes</td>
<td style="text-align: left;">string</td>
<td>collector SN</td>
</tr>
</tbody>
</table>
<p><strong>Return example</strong></p>
<pre><code>{
"data": "",
"error_code": 0,
"error_msg": ""
}</code></pre>
<p><strong>Return parameter description</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter name</th>
<th style="text-align: left;">Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">error_code</td>
<td style="text-align: left;">string</td>
<td>0: normal return, 10001: system error, 10002: power station ID is empty or the collector serial number is wrong, 10004: collector does not exist, 10003: power station does not exist</td>
</tr>
<tr>
<td style="text-align: left;">error_msg</td>
<td style="text-align: left;">string</td>
<td>Error message prompt</td>
</tr>
</tbody>
</table>
<p><strong>Remarks</strong></p>