Zum Hauptinhalt springen

Edit a stored ssh-key

PUT /v2/users/self/ssh-keys/{sshKeyId}/
v2
PUT
user-edit-ssh-key

Request

  • sshKeyIdstring (uuid)
    required

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"comment":"a.lovelace@example.com","expiresAt":"2024-09-16T00:30:12.718Z"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/users/self/ssh-keys/f0f86186-0a5a-45b2-aa33-502777496347