Skip to main content

Edit a stored ssh-key

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

Request

  • sshKeyIdstring (uuid)
    required

Responses

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"comment":"a.lovelace@example.com","expiresAt":"2024-11-08T18:07:47.880Z"}' \
-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