Creates a new SFTP storage instance in the specified location and returns the storage details including credentials.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Location code where the storage should be created
"mia"
User-defined name for the storage instance
"my-sftp-storage"
Password handling mode for SFTP access:
'auto': generate a random password (returned in the response)
'set': use the password provided in sftp_password
'none': no password (SSH-key-only access)
auto, set, none "auto"
Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
"2 years 6 months"
Whether this storage should use a custom configuration file
false
Whether HTTP access should be disabled (HTTPS only)
false
Custom domain alias for accessing the storage. Omit for no alias.
"my-storage.example.com"
SFTP password (8-63 chars). Required when password_mode is 'set'.
Must be omitted when password_mode is 'auto' or 'none'.
SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
[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"