Skip to main content

Get a specific ApiToken

GET/users/self/api-tokens/{apiTokenId}/
v2
GET
user-get-api-token

Request

  • apiTokenIdstring (uuid)
    required

    The id of an ApiToken.

Responses

application/json

The ApiToken.

  • 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/f0f86186-0a5a-45b2-aa33-502777496347