Skip to content

Logout

Request

Remove the user's API token.

Errors

Error CodeError TypeError Message
-1003NOT-LOGGED-INYou are not logged in
Security
accessToken
curl -i -X POST \
  'https://p3.avanser.com/app/logout?token=YOUR_API_KEY_HERE'

Responses

Successful logout.

Bodyapplication/json
timestampintegerrequired

The time that the API response left the server, represented as the number of seconds since the UNIX epoch.

Example:1508903167
exectionnumber

The number of seconds that it took to process the API request.

Example:0.00041531896591187
errorbooleanrequired

Boolean indicating whether there was an error returned by the API request.

Example:false
datastringrequired

The data returned by the API. The format varies depending on the API function that was called.

Response
{ "timestamp": 1508903336, "exection": 0.000087486028671265, "error": false, "data": "OK" }