Skip to main content
DELETE
/
mision
/
{id}
curl -X DELETE "https://api.example.com/mision/1"
{
  "success": true,
  "message": "Misión eliminada exitosamente",
  "data": {
    "idMision": 1,
    "eliminado": true
  }
}

Delete Mission

Performs a logical deletion (soft delete) of a mission in PROGRAMADA (scheduled) state.

Path Parameters

id
integer
required
ID of the mission to delete.

Response

success
boolean
Indicates if the request was successful.
message
string
Response message: “Misión eliminada exitosamente”
data
object
Confirmation object with the deleted mission ID.

Validations

  • Mission must be in PROGRAMADA state
  • Associated stops and state history are also deleted
  • This is a soft delete - the mission is marked as deleted but not physically removed from the database
curl -X DELETE "https://api.example.com/mision/1"
{
  "success": true,
  "message": "Misión eliminada exitosamente",
  "data": {
    "idMision": 1,
    "eliminado": true
  }
}

Build docs developers (and LLMs) love