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

# \_delete

Deletes a chosen Form Block using its ID.

### Parameter

#### id

The ID of the Form Block to be deleted.

### Example

```
FM_api('FormBlock_delete', [
        'id' => '12345'
    ]
);
```

### Results

#### On Success

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

#### On Failure

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

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

If the "id" parameter does not match the ID of an existing Form Block:

```
{"error":"Form Block does not exist"}
```
