---
title: "Edit Template"
method: PATCH
path: "/2022-06-09/collections/{collectionId}/templates/{templateId}"
tags: ["NFT Templates"]
---

# Edit Template

`PATCH /2022-06-09/collections/{collectionId}/templates/{templateId}`

Edit a Token template.

**API scope required**: `nfts.update`

## Path parameters

- `collectionId` string, required
- `templateId` string, required

## Request body

- union
  - Metadata
    - `metadata` object
      - `name` string — Template name
      - `imageUrl` string
      - `description` string
  - Supply
    - `supply` object — Supply details
      - `limit` integer — Supply limit. Set to 1 for ERC721.

## Response `204`

Success

## Other responses

- `400` — Invalid arguments, please make sure you're following the api specification.
- `404` — Not found error.
- `503` — Service unavailable

---

[API](https://skmtc.net/crossmint/apis/onramp.md) · [All operations](https://skmtc.net/crossmint/apis/onramp/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crossmint/onramp/versions/e2143d192130/schema)
