> 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/jobrecurrence/_removeappointment.md).

# \_removeAppointment

Remove a Job for a recurrence

### Parameters

#### rid

Recurrence ID

#### aid

Appointment ID

### Example

```
FM_api('JobRecurrence_removeAppointment', ['rid' => '48', 'aid' => '110'])
```

#### On Success

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

#### If the job is the last in the recurrence

```
{"ok":1,"warning":"last job in recurrence removed, so recurrence was removed as well"}
```

#### On failure - if the recurrence ID does not exist

```
{'error' => 'This recurring sequence does not exist'}
```
