Skip to main content
DELETE
/
v1
/
folders
/
{folderId}
Delete folder
curl --request DELETE \
  --url https://{instance}.omniapp.co/api/v1/folders/{folderId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.omni.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

folderId
string<uuid>
required

The UUID of the folder to delete. Use the List folders endpoint to retrieve folder IDs.

Query Parameters

force
boolean
default:false

When true, recursively archives documents (to trash) and deletes sub-folders. Limited to 100 total items.

Response

Folder deleted successfully

success
boolean
Example:

true