Skip to main content
DELETE
Requires version 1.1.9 or later of the Archetype platform.
Starting with version 2.0.1, this endpoint is removed from the platform. Use Delete Package instead. To move existing code, see Migrating from Bundles and Instances.

Overview

This endpoint deletes a bundle by its bnd_ id. A bundle that is still referenced by runs or evals returns 409 — delete those first. Deleting the bundles that pin a blueprint is the prerequisite for deleting that blueprint, which returns 409 while any bundle still references it.

Request

string
required
Bundle bnd_ id.

Response

Returns 204 No Content with an empty body on success.

Important Notes

  • Deleting a canonical bundle requires the super-admin role.
  • A 409 means at least one run or eval still references this bundle. Delete those first. v1.1.12+
  • Success returns 204 with no body — check the status code rather than parsing a response.