POST
/v1/tools/delete_folderfreeDelete a folder
Deletes a folder from Files, free, by its id (fld_…). Nothing in it is deleted: its files and folders move to where it was, the folder it was in or the top of Files. It cannot be undone.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
folder | string | Required | Its id, fld_… |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/delete_folder \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"folder":"…"}'Answer
{
"ok": true,
"result": {
"…": "…"
}
}What result holds is said above.
Every call can also answer an error: what comes back. Try it with your key from Account.