Cancel an unbound encrypted tenant backup upload
POST
/api/admin/tenant-backups/uploads/{uploadId}/cancel
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/tenant-backups/uploads/example/cancel \ --header 'Authorization: Bearer <token>'Requires backup read, manage, and import permissions plus fresh human administrator authentication. The actor-owned upload moves to asynchronous R2 cleanup. An upload already pinned by an import operation cannot be cancelled through this route.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” uploadId
required
string
Responses
Section titled “ Responses ”Upload cleanup is queued.
Media type application/json
object
id
required
string
state
required
string
key
additional properties
Example
{ "state": "cancelling"}Invalid upload identifier
Missing permission or fresh administrator authentication
Upload ownership
Import storage or audit persistence is unavailable