Dokumentation
ReferenzProjects

Delete a project.

DELETE
/projects/{projectId}

Delete one project with its directory, every document in it and its memory. The documents are removed from the search index and their files from storage. There is no undo and nothing is kept.

What survives is what belongs to people: the chats assigned to the project stay with their users and only lose the assignment, and the artifacts created in them stay in those chats. Artifacts whose chat had already been deleted are deleted with the project, since they would have no place left.

Read GET /directories/{directoryId} with the project's directoryId and GET /projects/{projectId}/members first if the caller needs to know what goes with it.

A project holding many thousands of documents can take longer than the 29 seconds an request may last. The deletion continues in Galilea, but the caller sees a timeout rather than the 204, and reads GET /projects/{projectId} to learn whether it has finished.

Requires project.delete, which only managers of the project hold.

Authorization

apiKey
headerX-API-Key<token>

API key issued in the Galilea settings.

Path Parameters

projectId*string

The id of the project, as returned by GET /projects.

Formatuuid

Response Body

The project, its directory, its documents and its memory no longer exist.

curl -X DELETE "https://example.com/projects/0b7c2f4e-5a61-4d3b-9f0e-6c1d2a3b4c5d"
Empty