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.
apiToken storage:files:writeheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: storage:files:write
orderId*numbermultipart/form-data- body
uploadId*stringfilename*stringpath*stringchunkIndex*stringchunkSize*stringchunk*fileFormat
binaryCompleted
application/json- response
received?numberbytesWritten?numberrecommendedChunkBytes?numbermaxChunkBytes?numbercurl -X POST 'https://api.deluxhost.net/v1/services/0/storage/files/upload-chunk' \ -H "Authorization: Bearer $DELUXHOST_TOKEN" \ -F 'uploadId=string' \ -F 'filename=string' \ -F 'path=string' \ -F 'chunkIndex=string' \ -F 'chunkSize=string' \ -F 'chunk=@./part.bin'Example Response
{ "received": 0, "bytesWritten": 0, "recommendedChunkBytes": 0, "maxChunkBytes": 0}