Zum Hauptinhalt springen

Update an SFTP user

PATCH/sftp-users/{sftpUserId}/
v2
PATCH
sftp-user-update-sftp-user

Request

  • sftpUserIdstring
    required

    ID of the SFTPUser to be updated.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

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