|
bluemelon.logout
invalidates the token
Authentication:
Yes (see here for details)
Arguments:
(required) string : token - the access token (required) string : publickey - the public key of an application
Request Example:
http://www.bluemelon.com/api/rest/{api_sign}/ ?method=bluemelon.logout&token={token}&publickey={publickey}
Response Example:
<rsp status="ok" onrequest="bluemelon.logout"/>
Error Codes:
4 - "Missing parameter" 5 - "Invalid parameter" 12 - "Application not found" 14 - "Invalid accessToken" 16 - "Access token timed out.You must relogin." 17 - "Invalid call signature size" 18 - "Invalid call signature" 20 - "Missing api_sign" 603 - "Account recently expired or deleted"
|