| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/laragon4/www/wa-gateway/resources/views/pages/api-docs/ |
Upload File : |
<div class="tab-pane fade e" id="disconnectdevice" role="tabpanel">
<h3>Disconnect device</h3>
<p>Method : <code class="text-success">POST</code>
<p>Endpoint: <code>{{ env('APP_URL') }}/logout-device</code></p>
<p>Request Body : (JSON If POST)
<table class="table">
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{{-- {
"device" : "6282298859671",
"api_key" : "ndUJR38JkvyCfLZ"
} --}}
<tr>
<td>sender</td>
<td>string</td>
<td>Yes</td>
<td>Device you want log out</td>
</tr>
<tr>
<td>api_key</td>
<td>string</td>
<td>Yes</td>
<td>API Key</td>
</tr>
</tbody>
</table>
<br>
<p>Normal Response</p>
<pre class="bg-dark text-white">
<code>
{
"status": true,
"message": "device disconnected "
}
</code>
</pre>
</div>