Disable SFTP for an app
curl --request POST \
--url https://api.storiza.store/apps/{id}/sftp/disable \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/sftp/disable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/sftp/disable"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "SFTP disabled",
"data": {
"username": "<string>",
"password": "<string>",
"host": "<string>",
"port": 123,
"enabled": true
}
}App files
Disable SFTP for an app
Turn SFTP off for this app. The password is cleared, not merely deactivated, so an operator with a copy of the database cannot reactivate an old credential — enabling again mints a fresh one.
The username is fixed for the app’s life and survives this.
Required API key permission: apps:write
POST
/
apps
/
{id}
/
sftp
/
disable
Disable SFTP for an app
curl --request POST \
--url https://api.storiza.store/apps/{id}/sftp/disable \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/sftp/disable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/sftp/disable"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "SFTP disabled",
"data": {
"username": "<string>",
"password": "<string>",
"host": "<string>",
"port": 123,
"enabled": true
}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Path Parameters
Minimum string length:
1Was this page helpful?