Download a storage file
GET
Ownership is checked before file access. Supports Range requests and 206 partial content. Snapshot paths are validated against the owned box.
apiToken storage:files:readheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: storage:files:read
orderId*numberpath*stringsnapshot?stringRange?stringCompleted
response?fileapplication/octet-streamFormat
binarycurl -X GET 'https://api.deluxhost.net/v1/services/0/storage/files/download?path=string' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
"string"Get storage usage history GET
One point per day (UTC), the last one being today with the live value. `forecast` is a straight line through the last 30 days and is null with fewer than 7 days of data.
Upload a file chunk POST
Ownership is checked before file access. Maximum request size 90 MiB including multipart overhead. Use finalize after all chunks; cancel abandons an upload. No username field is accepted: it is derived from ownership.