Skip to main content

Update an SFTP user

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