SFTP Storage
Update SFTP storage
Updates SFTP storage configuration and/or credentials including password and SSH key management. Supports JSON merge patch semantics: "password": null deletes the password, "ssh_key_ids": [] clears all keys.
patch/storage/v4/sftp_storages/{storage_id}
Path parameters
storage_idinteger required
Storage ID
Request body
Example request
{
"expires": "2 years 6 months",
"password_mode": "auto",
"server_alias": "my-storage.example.com",
"ssh_key_ids": [
1,
2,
3
]
}Response
SFTPStorageItemV4
Example response
{
"address": "luxembourg-2.storage.example.com",
"created_at": "2025-08-05T09:17:02Z",
"expires": "2 years 6 months",
"full_name": "696-my-sftp-storage",
"has_password": true,
"id": 1,
"location_name": "luxembourg-2",
"name": "my-sftp-storage",
"password": "Xy9$mN2p!qR8",
"provisioning_status": "active",
"server_alias": "my-storage.example.com",
"ssh_key_ids": [
1,
2
]
}