---
title: "es_mute_path_prefix(_:_:)"
framework: endpointsecurity
role: symbol
role_heading: Function
path: "endpointsecurity/es_mute_path_prefix(_:_:)"
---

# es_mute_path_prefix(_:_:)

Suppresses events from executables matching a path prefix.

## Declaration

```swift
func es_mute_path_prefix(_ client: OpaquePointer, _ path_prefix: UnsafePointer<CChar>) -> es_return_t
```

## Parameters

- `client`: The client for which to mute events.
- `path_prefix`: A prefix string. The client stops receiving events from executables whose paths begin with this string.

## See Also

### Deprecated Functions

- [es_muted_processes(_:_:_:)](endpointsecurity/es_muted_processes(_:_:_:).md)
- [es_mute_path_literal(_:_:)](endpointsecurity/es_mute_path_literal(_:_:).md)
