Configure SFTP users for an environment.
post/midgard/v0.1/users/sftp/configure/{environmentId}
Replaces configured SFTP users for an environment.Request
Authorization
X-AT
header
apiKey
Path Parameters
environmentIdEnvironment ID.
integer
REQUIRED
Body
application/json
usersUsers to allow SFTP access for.
array object[]
REQUIRED
object {}
idUser UUID.
string
pathAllowed path, normalized under `/vol/`.
string
Response
200SFTP users added successfully.
400Invalid request.
403User is not allowed to access this resource.
404Environment not found.
Shell cURL
shellShow schema
json