Zum Inhalt springen
DeutschlandGPT

Delete document folder

Permanently deletes a document folder and all its files.

DELETEhttps://api.deutschlandgpt.de/v2/document-folders/{id}

Example request

curl https://api.deutschlandgpt.de/v2/document-folders/{id} \
  -X DELETE \
  -H "Authorization: Bearer $DGPT_API_KEY"

Parameters

idstring<uuid>required

Document folder ID

Response

204No response body.

Deleted successfully

Response codes

204

Deleted successfully

401

Unauthorized

402

Insufficient credits or spending limit exceeded

Error
403

Requires enterprise workspace

404

Folder not found or access denied

Was this page helpful?
Delete document folder · DeutschlandGPT