Skip to main content

Update an existing ApiToken

PUT/users/self/api-tokens/{apiTokenId}/
v2
PUT
user-edit-api-token

Request

  • apiTokenIdstring (uuid)
    required

Responses

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"description":"Api Token for ...","expiresAt":"2024-12-18T07:53:23.082Z"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/users/self/api-tokens/f0f86186-0a5a-45b2-aa33-502777496347