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.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Storage ID
Duration when the storage should expire (e.g., "2 years 6 months"). Empty string to remove.
"2 years 6 months"
Whether this storage should use a custom configuration file
false
Whether HTTP access should be disabled (HTTPS only)
false
Password handling mode. Omit to leave password unchanged. 'auto': regenerate password (returned in response) 'none': remove password Note: 'set' is not allowed in PATCH.
auto, none "auto"
Custom domain alias for accessing the storage. Empty string to remove.
"my-storage.example.com"
SSH key IDs to associate with this storage. Replaces all existing keys. If omitted, existing keys are unchanged. If empty array, all keys are removed.
[1, 2, 3]SFTP StorageItemV4
Full hostname/address for accessing the storage endpoint
"luxembourg-2.storage.example.com"
ISO 8601 timestamp when the storage was created
"2025-08-05 09:17:02+00:00"
Duration when the storage will expire. Null if no expiration is set.
"2 years 6 months"
Whether this storage uses a custom configuration file
false
Whether password authentication is configured for this storage
true
Unique identifier for the storage instance
1
Whether HTTP access is disabled for this storage (HTTPS only)
false
Geographic location code where the storage is provisioned
"luxembourg-2"
User-defined name for the storage instance
"my-sftp-storage"
Lifecycle status of the storage. Use this to check readiness before operations.
creating, active, updating, deleting, deleted "active"
Custom domain alias for accessing the storage. Null if no alias is configured.
"my-storage.example.com"
IDs of SSH keys associated with this SFTP storage
[1, 2]SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
"Xy9$mN2p!qR8"