delete login

Description

Performs a log out, by closing user session and deleting the access token. The user, and other login sessions or access tokens will not be deleted.

URL

/VERSION/users/login.FORMAT

Available Format

JSON

HTTP Method

DELETE

Accepted Version

1

Require

Authorization.

Headers

Not applicable.

Parameters

  • access_token: (Required) access_token that will be deleted.

Example

https://api.topoos.com/1/users/login.json

curl -X DELETE -F "access_token=35FCB942-534F-43BA-B484-EDA1056CC512"

Reply

JSON example reply when request success

{
    "code": 200,
    "description": "OK"
}

JSON Response when request error is returned

{
    "code": 405,
    "description": "EXCEPTION_METHOD_NOT_ALLOWED"
}