---
title: "clearCustomData(_:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/attribute/spec/clearcustomdata(_:)"
---

# clearCustomData(_:)

Removes key from the custom data dictionary.

## Declaration

```swift
func clearCustomData(_ key: String)
```

## Parameters

- `key`: The dictionary key to clear.
