API: Delete Station

Request

Soft delete a specific station by ID:

DELETE /stations/{id}

Sample Response:


{
  "status": "success",
  "message": "Station deleted successfully"
}
                

Notes:

  • The station ID is required in the URL to specify which station to delete.
  • If the station does not exist, the API will return an error response.