delete
https://app.eraser.io/api/folders/
Deletes a folder. Use recursive=true to also delete child folders and archive their workspaces.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Example request
curl --location --request DELETE 'https://app.eraser.io/api/folders/xK9mPq2vR' \
--header 'Authorization: Bearer $YOUR-TOKEN-HERE'An example request with recursive to delete all children:
curl --location --request DELETE 'https://app.eraser.io/api/folders/xK9mPq2vR?recursive=true' \
--header 'Authorization: Bearer $YOUR-TOKEN-HERE'Example response
{
"success": true
} 400Invalid folder ID
401Missing or invalid bearer token
403Unauthorized
404Folder not found
500Internal server error