---
title: "removeAPISchema(_:instanceName:)"
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/removeapischema(_:instancename:)"
---

# removeAPISchema(_:instanceName:)

Removes a multi-apply API schema from this prim with the given instance name.

## Declaration

```swift
func removeAPISchema(_ schemaIdentifier: USDToken, instanceName: USDToken) throws
```

## Parameters

- `schemaIdentifier`: The identifier of the API schema to remove.
- `instanceName`: The name of the schema instance to remove.

## Discussion

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