---
title: "applyAPISchema(_:)"
framework: usdkit
role: symbol
role_heading: Instance Method
path: "usdkit/usdprim/applyapischema(_:)"
---

# applyAPISchema(_:)

Applies a single-apply API schema to this prim.

## Declaration

```swift
func applyAPISchema(_ schemaIdentifier: USDToken) throws
```

## See Also

### Applying schemas and transforms

- [applyAPISchema(_:instanceName:)](usdkit/usdprim/applyapischema(_:instancename:).md)
- [addTransformOperation(type:)](usdkit/usdprim/addtransformoperation(type:).md)
