Skip to main content
DELETE
Requires version 2.0.0 or later of the Archetype platform.

Overview

This endpoint deletes a project by its prj_ ID.
Only an empty project can be deleted. While the project still holds blueprints, evals, optimizations, packages, or agent runs, this endpoint returns HTTP status 409. Delete what it holds first.

Request

string
required
Project prj_ ID.

Response

Returns 204 No Content with an empty body on success.

Important Notes

  • Deleting a project is permanent. There is no way to restore it.
  • 403 means the caller has the read-only viewer role.
  • 404 means the project does not exist or is not visible to you.
  • Success returns 204 with no body. Check the status code rather than parsing a response.