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

# \_delete

Removes an Availability.

### Parameter

#### id

The ID of the Availability to be removed.

### Example

```
FM_api('Availability_delete',[
	  'id'=>'30001'
	]
);
```

### Result

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

#### On Failure

If the "id" parameter is not set or it does not match the ID of an existing Availability:

```
{"error":"availability event not found"}
```
