Skip to main content

List all of your ApiTokens

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

Request

Responses

Response headers

  • X-Pagination-Limitnumber

    The limit used to select the resources for the response

  • X-Pagination-Skipnumber

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountnumber

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

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?limit=50&page=1