For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inBook a demo
DocsReferenceChangelog
DocsReferenceChangelog
  • Introduction
    • Overview
    • Errors
  • SDK
    • Overview
    • Decorators
    • Run Evaluation
  • API
      • GETList
      • POSTCreate
      • GETGet
      • DELDelete
      • PATCHUpdate
LogoLogo
Sign inBook a demo
APIDirectories

Delete

DELETE
https://api.humanloop.com/v5/directories/:id
DELETE
/v5/directories/:id
$curl -X DELETE https://api.humanloop.com/v5/directories/id \
> -H "X-API-KEY: <apiKey>"

Delete the Directory with the given ID.

The Directory must be empty (i.e. contain no Directories or Files).

Was this page helpful?
Previous

Update

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

idstringRequired

Unique identifier for Directory. Starts with dir_.

Errors

422
Delete Directories ID Delete Request Unprocessable Entity Error