Cinema Studio

Delete an item from the Trash

Delete one item in the Trash, and its files. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

DELETE
/v1/studio/projects/{project}/trash/{item}
DELETE
/v1/studio/projects/{project}/trash/{item}
Delete an item from the Trash
Delete one item in the Trash, and its files.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
itemstringrequired
Delete an item from the Trash
curl --request DELETE \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/trash/{item}' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}
Delete an item from the Trash
curl -X DELETE https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/trash/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — studio:write — Account offers it unticked; the desktop's session key holds it.

Path Parameters

projectstringrequired
itemstringrequired

Response

application/json

OK.

objectstringrequired
One of "project", "folder", "item", "element", "preset", "canvas", "member", "film", "script".
idstringrequired
deletedbooleanrequired
One of true.
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

Delete an item from the Trash
curl -X DELETE https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/trash/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.