Skip to content

Invalidate all active user sessions

Request

Invalidates all active sessions associated with the user

Security
X-API-KEY or Authorization
Path
idinteger, (int64)required

User ID

curl -i -X DELETE \
  'https://uberall.com/api/users/{id}/all-sessions' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Successfully logged out all sessions for user

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"
  }
}