StediDOCS
This product is in Developer Preview

SFTP

Download OpenAPI

ListUsers

GET/users
Retrieve a list of users.
Parameters
Optionalquery
Limit response to this number of resources. Default to 25.
Optionalquery
The value of token returned in prior request (used for pagination).

Example

GET
https://api.sftp.us.stedi.com/2022-04-01/users?pageSize=22&pageToken=...

CreateUser

POST/users
Create a new user.
Request body

application/json

Requiredstring
SFTP user description.
Requiredstring
The user's home directory.
Optionalobject
PasswordOptions object.

Example

POST
https://api.sftp.us.stedi.com/2022-04-01/users

ReadUser

GET/users/{username}
Retrieve a user.
Parameters
Requiredpath
The username used to log in to the SFTP server. Pattern: ^([A-Z0-9]+)$

Example

GET
https://api.sftp.us.stedi.com/2022-04-01/users/MV

UpdateUser

PUT/users/{username}
Update a user.
Parameters
Requiredpath
The username used to log in to the SFTP server. Pattern: ^([A-Z0-9]+)$
Request body

application/json

Requiredstring
SFTP user description.

Example

PUT
https://api.sftp.us.stedi.com/2022-04-01/users/1

DeleteUser

DELETE/users/{username}
Delete a user.
Parameters
Requiredpath
The username used to log in to the SFTP server. Pattern: ^([A-Z0-9]+)$

Example

DELETE
https://api.sftp.us.stedi.com/2022-04-01/users/LEWG86