Alignment Projects

Delete Alignment

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:

  • alignment_id: Unique identifier of the alignment project to delete

Returns:

Success response containing:

  • alignment_id: ID of the deleted alignment project
  • message: Confirmation message

Raises:

  • 400: If the aligned model is still deployed (must undeploy first)
  • 404: If alignment project not found or doesn't belong to user

Example Request:

DELETE /api/v3/alignment/alignment_01k4x9m2p7q3r8c1
Headers: {"Authorization": "Bearer <api_key>"}

Example Response:

{
  "alignment_id": "alignment_01k4x9m2p7q3r8c1",
  "message": "Alignment project successfully deleted"
}

Warning:

This action is permanent and cannot be undone. All alignment data, train-time alignment 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.

delete/api/v3/alignment-projects/{alignment_id}

Request

  • Base URL
    https://api.nugen.in
  • Auth
    HTTP bearer

Path parameters

alignment_idstring required

ID of the alignment project, returned when it was created

Response

Returns confirmation of successful deletion of the alignment project with the specified ID

alignment_idstring required

Identifier of the deleted alignment project.

messagestring required

Deletion confirmation message.

Changes

No recorded changes to this operation across all 1 revision of this API.