Delete an alignment project permanently.
This endpoint permanently removes an alignment project and its associated data from the system. The aligned model must be undeployed before deletion is allowed.
Path Parameters:
id: Unique identifier of the alignment project to deleteReturns:
Success response containing:
alignment_id: ID of the deleted alignment projectmessage: Confirmation messageRaises:
400: If the aligned model is still deployed (must undeploy first)404: If alignment project not found or doesn’t belong to userExample Request:
DELETE /api/v3/alignment/alignment-xyz789
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"alignment_id": "alignment-xyz789",
"message": "Alignment project successfully deleted"
}
Warning:
This action is permanent and cannot be undone. All alignment data, training artifacts, and project metadata will be permanently deleted.
Important:
Before deleting an alignment project, ensure the associated aligned model is undeployed. Use the undeploy endpoint first if the model is currently deployed.