> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSDRemoveProvider

# SD\_RemoveProvider (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Function Syntax

```c theme={null}
void SD_RemoveProvider(serviceProviderRef * provider);
```

## Description

Removes a provider endpoint from a service. You may call this to react to timeouts, or unannouncements from a real provider, or to remove a simulated provider endpoint.

## Parameters

* **provider**: Provider endpoint.

## Return Values

* **0**: Success
* **1**: The service does not allow dynamic endpoint changes
* **\< 0**: Other error, e.g. variable not initialized

## Example

```c theme={null}
SD_RemoveProvider(newProvider);
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [SD\_RemoveConsumer](CAPLfunctionSDRemoveConsumer.md) • [SD\_AddProvider](CAPLfunctionSDAddProvider.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.