Skip to main content

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

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-d '{"accessLevel":"read","active":true,"description":"string","directories":["string"],"expiresAt":"2024-11-08T18:07:44.613Z","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