Zum Hauptinhalt springen

List all sessions

GET/users/self/sessions/
v2
GET
user-list-sessions

Request

Keine Request-Parameter.

Responses

application/json

List of all sessions.

  • Array[
  • *object
    • createdstring (date-time)
      required
    • deviceobject
      required
      • browserstring
      • modelstring
      • osstring
      • typestring
    • lastAccessstring (date-time)
    • locationobject
      • citystring
      • countrystring
      • ipAddressstring (ipv4)
    • tokenIdstring (uuid)
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/users/self/sessions