Zum Hauptinhalt springen

List all of your ApiTokens

GET/users/self/api-tokens/
v2
GET
user-list-api-tokens

Request

Keine Request-Parameter.

Responses

application/json

A list of ApiTokens.

  • Array[
  • *object
    • apiTokenIdstring (uuid)
      required
    • createdAtstring (date-time)
      required
    • descriptionstring
      required
    • expiresAtstring (date-time)
    • rolesarray of string (one of: api_read, api_write)
      required
      • Array[
      • *string (one of: api_read, api_write)
      • ]
]

Usage examples

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