# SFTP Credentials
Get mail SFTP Credentials.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/sftp
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/sftp" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# SFTP Credentials Mail
- 200 (Ok)
{
"message": "SFTP credentials has been mailed successfully."
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Application Not found
- 404 (Not Found)
{
"message": "Application not found!"
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong!"
}