【5】解除设备授权
<p>[TOC]</p>
<h5>接口状态</h5>
<ul>
<li><code>正常</code></li>
</ul>
<h5>框架版本</h5>
<ul>
<li><code>≥ 2.2.5.0</code></li>
</ul>
<h5>更新时间</h5>
<ul>
<li><code>2025/05/15</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>解除设备授权,仅限个人版使用,企业版无效。</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Access_DisauthorizeDevice (“f9d5589d28c9a72252765e7312e0e6df”)</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Access.解除设备授权(“f9d5589d28c9a72252765e7312e0e6df”)</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Access</code></pre>
<pre><code>&amp;post=DisauthorizeDevice&amp;data={&quot;uuid&quot;:&quot;f9d5589d28c9a72252765e7312e0e6df&quot;}</code></pre>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">是否必填</th>
<th style="text-align: left;">说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">uuid</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">设备码</td>
<td>f9d5589d28c9a72252765e7312e0e6df</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{&quot;code&quot;:200,&quot;msg&quot;:&quot;调用成功&quot;,&quot;app_v&quot;:&quot;2.2.5.0&quot;,&quot;data&quot;:true,&quot;reg&quot;:&quot;解绑成功&quot;,&quot;passkey&quot;:&quot;1746965489791&quot;}</code></pre>
<pre><code>{&quot;code&quot;:501,&quot;msg&quot;:&quot;调用失败 - 解绑设备不存在&quot;,&quot;app_v&quot;:&quot;2.2.5.0&quot;,&quot;data&quot;:false,&quot;reg&quot;:&quot;解绑设备不存在&quot;,&quot;passkey&quot;:&quot;1746965527286&quot;}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">整数型</td>
<td>返回结果,成功=200,失败≠200</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">文本型</td>
<td>结果说明,调用成功或失败原因</td>
</tr>
<tr>
<td style="text-align: left;">app_v</td>
<td style="text-align: left;">文本型</td>
<td>dll版本</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">文本型</td>
<td>返回结果</td>
</tr>
<tr>
<td style="text-align: left;">passkey</td>
<td style="text-align: left;">文本型</td>
<td>请求完成13位时间戳</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>