---
title: "remove(_:)"
framework: usdkit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdprim/payloadcollection/remove(_:)"
---

# remove(_:)

Removes a specific payload arc from the prim.

## Declaration

```swift
func remove(_ payload: USDPrim.Payload) throws
```

## Parameters

- `payload`: The payload to remove.

## Discussion

Discussion note: An error if the payload cannot be removed.
