Logout
Send the logout request to disconnect the application server and Yeastar S-Series VoIP PBX API.
Request URL
{base_url}/{api_path}/logout?token={token}
Note: The token in the Request Example below is the token
returned when API login authentication is passed.
Request parameters
No request parameters. Send the logout request directly.
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
Examples
Request example
POST /api/v2.0.0/logout?token=721eebe15cb3c27b60daeb1f120f0c05 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150
Response example
HTTP/1.1 200 OK Server: Boa/0.94.14rc21 Accept-Ranges: bytes Connection: close Content-Type: application/json Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }