# \_setActive

Set the Status of the Appointment Recurrence.

### Parameters

#### id

The ID of the Appointment Recurrence.

#### val

Status to be set for the Recurrence (Active - 1, Inactive - 0).

### Example

```
FM_api('AppointmentRecurrence_setActive', ['id' => '123', 'val' => '1']);
```

### Result

#### On Success

```
{'ok':1}
```
