> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/schemas/schema-templates/detach-a-schema-template.md).

# Detach a Schema Template

Remove a schema template binding from a draft policy.

Detach a template when the policy needs independent schemas. See [Schema Templates](/technical-information/users/standard-registry-users-schemas-and-policies/schemas/schema-templates.md).

## Prerequisites

* You are signed in as a Standard Registry user.
* Your role carries permission to manage draft policies.
* The policy is a draft with a schema template applied.

## Steps

1. Open the draft policy with the applied template.
2. Select **Detach Schema Template**.
3. Review the warning.
4. Confirm.

## Result

The policy keeps its copies of the schemas. The template metadata and binding are removed, and the schemas become ordinary editable policy schemas.

## Troubleshooting

**Why is Detach Schema Template unavailable?**\
Only a draft policy with a template applied can be detached.

**Why can't I delete a schema?**\
The schema belongs to an applied template. Detach the template first, after which the copied schema becomes independent and editable.

## Related

* Concept: [Schema Templates](/technical-information/users/standard-registry-users-schemas-and-policies/schemas/schema-templates.md)
* Task: [Apply a Schema Template](/technical-information/users/standard-registry-users-schemas-and-policies/schemas/schema-templates/apply-a-schema-template.md)
