GetbeelDocs

Delete a Drive folder

Deletes a custom folder (path from GET /drive, kind custom) and every file in it, for good. Month and system folders cannot be deleted. Live keys only.

DELETE
/drive/folders

Deletes a custom folder (path from GET /drive, kind custom) and every file in it, for good. Month and system folders cannot be deleted. Live keys only.

Autorizzazione

apiKey
headerAuthorizationBearer <token>

API key: gb_test_… or gb_live_…

Parametri query

path*string

contratti or 2026-10/contratti

Getbeel-Company?string

Act on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.

Formatuuid

Corpo della risposta

OK

application/json
  1. response
object*string
path*string
deleted*boolean
Esempio di richiesta
curl -X DELETE 'https://www.getbeel.com/api/v1/drive/folders?path=string'
Esempio di risposta
{  "object": "drive_folder",  "path": "string",  "deleted": true}