Skip to main content

Update an SSH user

PATCH/ssh-users/{sshUserId}/
v2
PATCH
ssh-user-update-ssh-user

Request

  • sshUserIdstring
    required

    ID of the SSHUser to be updated.

Responses

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-d '{"active":true,"description":"string","expiresAt":"2024-11-08T18:07:44.879Z","password":"string","publicKeys":[{"comment":"string","key":"string"}]}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/ssh-users/string