## clearScheduleParameter() function

Immutably clears one scheduling parameter a Schedule sets for a HealthcareService, dropping that calendar back to the service-level parameter of the same name. Pairs with `setScheduleParameter` and `getScheduleParameters`.

**Signature:**

```typescript
export declare function clearScheduleParameter(schedule: Schedule, service: WithId<HealthcareService>, url: string): Schedule;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| schedule | Schedule | Schedule to update |
| service | [WithId](/content/docs/sdk/core.withid) <HealthcareService> | HealthcareService referenced by the parameters |
| url | string | Url of the SchedulingParameters sub-extension to remove, for example `availability` |

**Returns:**

Schedule

A cloned Schedule without the matching parameter
