Zum Hauptinhalt springen

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

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-d '{"active":true,"description":"string","expiresAt":"2024-12-18T07:57:23.915Z","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