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-12-26T00:27:59.585Z","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