> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/importtasksemail/_delete.md).

# \_delete

Deletes an Email which Tasks are Imported to.

### Parameters

#### id

The ID of the email to be deleted

### Example

```
FM_api('ImportTasksEmail_delete',[
    'id'=>'40123'
    ]
);
```

### Results

#### On Failure

If the "id" parameter is not given a value or has a value less than 1:

```
{"error":"missing or invalid parameter: id"}
```

#### On Success

```
{"ok":1}
```
