Permanently purge an item from trash
DELETE
/v1/trash/{type}/{id}Enqueues a Worker job. Storage is billed until the prefix is empty and the row is deleted.
curl -X DELETE 'https://api.embodiflow.io/v1/trash/{type}/{id}' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT' \
-H 'Content-Type: application/json' \
-d '{
"confirmName": "string"
}'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- typestringrequired
- idstringrequired
Request body
Content-Typeapplication/json
- confirmNamestring
Responses
Success
- dataobjectrequired
- typestringrequiredAllowed valuesprojectversionrecordingepisodemodel
- idstringrequired
- enqueuedbooleanrequiredAllowed valuestrue
Response example
{
"data": {
"type": "project",
"id": "string",
"enqueued": true
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1