---
title: "Patch issuance template"
method: PATCH
path: "/templates/issuance/{templateId}"
tags: ["IssuanceTemplates"]
---

# Patch issuance template

`PATCH /templates/issuance/{templateId}`

## Request body

- PatchIssuanceTemplateRequest
  - `name` string
  - `description` string, nullable
  - `enabled` boolean
  - `spec` IssuanceTemplateSpec
    - `credential_configuration_ids` string[], required
    - `credential_designs` CredentialDesignVersionRef[]
      - `designId` string, uuid, required
      - `version` integer, nullable — Pinned design version. Null means latest active version.
    - `offer_defaults` union — Stable partial credential-offer defaults merged into the execution request before decoding as the real runtime CreateCredentialOfferInput model.
      - CredentialOfferDefaults — unresolved $ref
      - object, nullable

## Response `200`

Updated issuance template.

- IssuanceTemplateRecord
  - `id` string, uuid, required
  - `tenantId` string, required
  - `issuerId` string, required — Configured issuer instance this template executes against.
  - `name` string, required
  - `description` string, nullable
  - `enabled` boolean, required
  - `spec` IssuanceTemplateSpec, required
    - `credential_configuration_ids` string[], required
    - `credential_designs` CredentialDesignVersionRef[]
      - `designId` string, uuid, required
      - `version` integer, nullable — Pinned design version. Null means latest active version.
    - `offer_defaults` union — Stable partial credential-offer defaults merged into the execution request before decoding as the real runtime CreateCredentialOfferInput model.
      - CredentialOfferDefaults — unresolved $ref
      - object, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Changes

- **2026-07-04** `568d1d18b536` — 1 warning, 3 info
  - removed `#/components/schemas/CredentialOfferDefaults` from the `spec/offer_defaults` request property `allOf` list
  - added `#/components/schemas/CredentialOfferDefaults, subschema #2` to the `spec/offer_defaults` request property `anyOf` list
  - removed `#/components/schemas/CredentialOfferDefaults` from the `spec/offer_defaults` response property `allOf` list for the response status `200`
  - added `#/components/schemas/CredentialOfferDefaults, subschema #2` to the `spec/offer_defaults` response property `anyOf` list for the response status `200`

[Change history](https://skmtc.dev/sphereon-opensource/apis/oid4vci-issuance-template-api/changes/templates/issuance/:templateId/patch.md)

---

[API](https://skmtc.dev/sphereon-opensource/apis/oid4vci-issuance-template-api.md) · [All operations](https://skmtc.dev/sphereon-opensource/apis/oid4vci-issuance-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sphereon-opensource/oid4vci-issuance-template-api/revisions/15799b5809dc/schema)
