---
title: "removeSuite(named:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/userdefaults/removesuite(named:)"
---

# removeSuite(named:)

Removes the specified domain from the search list of the current object.

## Declaration

```swift
func removeSuite(named suiteName: String)
```

## Parameters

- `suiteName`: The bundle identifier for the domain you want to remove. Specify the same string you used when you added the domain.

## See Also

### Adding and removing search domains

- [addSuite(named:)](foundation/userdefaults/addsuite(named:).md)
