Skip to main content
POST
/
api
/
assets
/
empty-trash
Permanently delete every trashed asset in the library
curl --request POST \
  --url https://api.example.com/api/assets/empty-trash
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.gumnut.ai/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

library_id
string | null

Library whose trashed assets to permanently delete. Optional if the user has a single library; required when they have multiple.

Response

Successful Response