Skip to content
NewDatafor 10.02 is out: subscriptions and metric alerts, in Slack and Teams
Datafor

Files

Permanently delete items

Remove items from the Trash permanently.

Permanently removes items from the Trash. This cannot be undone.

Method and path PUT /plugin/datafor-modeler/api/repo/files/deletepermanent
Permission The caller’s own Trash
Content type text/plain

Parameters

Name In Type Required Description
(body) body string Yes Comma-separated IDs from List the Trash. Each ID is processed separately; one failure does not stop the others.

Example

curl -u admin:password -X PUT \
  "http://localhost:28080/datafor/plugin/datafor-modeler/api/repo/files/deletepermanent" \
  -H "Content-Type: text/plain" \
  --data "66666666-7777-8888-9999-000000000000"
{ "success": true, "code": "200" }

Errors

code When
500 One or more items could not be deleted. msg lists them by position in the request, for example [1]:<reason>.

Related: Delete folders or files