Zum Hauptinhalt springen

Update an SSH user

PATCH /v2/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-09-19T00:29:19.037Z","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