Skip to content

Log out the current user

Request

Logs out the current user and invalidates the access_token associated with this session

Security
X-API-KEY or Authorization
curl -i -X POST \
  https://uberall.com/api/users/logout \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Successfully logged out

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

Details about the LogoutResponse

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "success": true,
    "redirectUrl": "http://example.com/redirect"
  }
}