---
title: "Delete Save"
method: POST
path: "/method/nimbus/delete_save"
---

# Delete Save

`POST /method/nimbus/delete_save`

Endpoint for deleting saved solutions.

Args:
    request (NIMBUSDeleteSaveRequest): request containing necessary information for deleting a save
    user (Annotated[User, Depends): the current  (logged in) user
    session (Annotated[Session, Depends): database session

Raises:
    HTTPException

Returns:
    NIMBUSDeleteSaveResponse: Response acknowledging the deletion of save and other useful info.

## Request body

- NIMBUSDeleteSaveRequest — Request model for deletion of a saved solution.
  - `state_id` integer, required — The ID of the save state.
  - `solution_index` integer, required — The ID of the solution within the above state.

## Response `200`

Successful Response

- NIMBUSDeleteSaveResponse — Response of NIMBUS save deletion.
  - `message` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api.md) · [All operations](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/industrial-optimization-group/desdeo-fast-api/versions/c24fa4e23380/schema)
