List Storage Box SSH keys
GET
Public keys accepted for SFTP on the box's main login.
apiToken storage:readheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: storage:read
id*integerThe service id, as returned by GET /v1/services.
The keys.
application/json- response
supported*booleanlimit*integeritems*array<>curl -X GET 'https://api.deluxhost.net/v1/services/0/storage/ssh-keys' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
{ "supported": true, "limit": 0, "items": [ { "fingerprint": "string", "type": "string", "label": "string" } ]}Replace allowed storage IP addresses PUT
The whole list, replacing what is there; `[]` removes the restriction. IPv4 or IPv6\naddresses or networks in CIDR notation, at most 20. `0.0.0.0/0` is refused.\n\n**Mind your own address** — a list that does not contain it locks this machine out of\nSFTP/WebDAV/SMB (never out of the API or the dashboard).
Add a Storage Box SSH key POST
Exactly one of `publicKey` (an OpenSSH public key line: ed25519, RSA or ECDSA) or `sshKeyId` (a key from your account's key book). A private key is refused.