TuCloudAPI authlogout
Appearance
TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: SuperRoot, Operator, Client.
Description
Destroy the session and clear the cookie. Always {ok:true}: logging out a session that is already gone is not a failure the caller can act on. Revocation is immediate -- the record is deleted from memory, which is precisely why the id is opaque rather than self-contained.
Call
https://tucloudapi.7kas.com:9087/tucloud?func=authlogout&ukey=YOUR_KEY
GET, or POST with the parameters form-urlencoded in the body. Requires the ukey parameter.
Parameters
None beyond ukey and func=authlogout.
Example
https://tucloudapi.7kas.com:9087/tucloud?func=authlogout
Response
{ok:true, status:"logged_out"}.
Back to TuCloudAPI