---
title: "Assign Model To Template"
method: PATCH
path: "/v1/admin/templates/{template_id}/assign-model"
tags: ["Admin Management"]
---

# Assign Model To Template

`PATCH /v1/admin/templates/{template_id}/assign-model`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/admin/templates/{template_id}/assign-model`
- Auth: HTTP bearer

Assign a model to a template (convert general template to deployment template)

## Path parameters

- `template_id` string, required

## Query parameters

- `model_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/a49f22311a8f?raw)
