> 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/tasktype/_delete.md).

# \_delete

Delete a chosen Task Type.

### Parameters

#### id

The id of the chosen task type.

### Example

```
FM_api('TaskType_delete', [
  'id' => '30006'
]);
```

### Results

#### On Success

If there is an id value and it is higher than 0.

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

#### On Failure

If there is no value for the id, or it is less than 1.

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