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-12-18T07:53:20.676Z","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