Xeonr Developer Docs
API SpecificationUploads

Delete upload

POST
/uplim.api.v1.BucketUploadsService/DeleteUpload

Permanently deletes an upload and its associated files from storage.

Authorization

OAuth2 upl:uploads:manage
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:uploads:manage

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketRef?|

Reference to the bucket

uploadRef?|

Reference to the upload (by ID or path)

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/DeleteUpload" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}