AlphaAlpha Docs
API ReferenceBlob storage

Delete orphaned blobs

Deletes blobs that exist in storage but are not referenced by any entity. Use dryRun=true to preview. Admin only.

DELETE
/blob-storage/orphaned
AuthorizationBearer <token>

In: header

Query Parameters

dryRun?boolean
Defaulttrue

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/blob-storage/orphaned"
{
  "orphanedBlobs": [
    {
      "blobId": "string",
      "deleted": true
    }
  ],
  "orphanedCount": 0,
  "totalBlobsInStorage": 0,
  "totalReferencedBlobs": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}