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

# setUserAttributes

> Set user attributes on iOS

## setUserAttributes

```swift theme={null}
RampKit.setUserAttributes([
  "plan": "pro",
  "country": "US"
])
```

Merges with existing attributes. Accepts String, Number, Bool values.

Clear an attribute by setting `NSNull()`:

```swift theme={null}
RampKit.setUserAttributes(["plan": NSNull()])
```
