Skip to content

Complete and verify an encrypted tenant backup upload

POST
/api/admin/tenant-backups/uploads/{uploadId}/complete
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/tenant-backups/uploads/example/complete \
--header 'Authorization: Bearer <token>'

Seals the complete ordered part list after validating its declared byte count. Uploads of 16 MiB or less are completed and SHA-256 verified in the request; larger uploads continue asynchronously.

uploadId
required
string

A small upload was completed and SHA-256 verified.

Media type application/json
object
id
required
string
state
required
string
Allowed value: uploaded
key
additional properties
Example
{
"state": "uploaded"
}

Multipart completion and full-object verification for a large upload are queued.

Media type application/json
object
id
required
string
state
required
string
Allowed value: completing
key
additional properties
Example
{
"state": "completing"
}

Missing permission or fresh administrator authentication

The upload is incomplete

Import storage, audit persistence, or synchronous verification is unavailable