> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/user-documentation/identity/administration/jit-admin/templates/edit.md).

# Edit JIT Admin Template

This page changes a saved JIT Admin template. It is reached from the **Edit Template** action on the [JIT Admin Templates](/user-documentation/identity/administration/jit-admin/templates.md) page, and opens the template's stored values in the same form used to create one. The fields and the settings that appear for each choice are described on [Add JIT Admin Template](/user-documentation/identity/administration/jit-admin/templates/add.md).

Saving overwrites the existing template in place rather than creating a second one, because the template keeps its identifier through the edit. Who created the template and when is preserved, and CIPP additionally records who last modified it.

{% hint style="info" %}
The template stays with the tenant it was created for. Unlike the Add page, which takes its tenant from the top menu, this page uses the tenant stored on the template, so an All Tenants template shows the All Tenants restrictions even while a specific customer is selected. A template cannot be moved between tenants by editing it.
{% endhint %}

{% hint style="info" %}
Turning on **Default for Tenant** clears the flag from whichever template previously held it for that tenant, so there is no need to unset the old default first.
{% endhint %}

{% hint style="warning" %}
Template names have to be unique within a tenant. Saving a name already used by another template for the same tenant is rejected, and the reason is reported in the result.
{% endhint %}

{% hint style="warning" %}
Only the fields belonging to the selected **Default User Action** are kept. Switching a template from creating a new user to using an existing one discards the stored name, username, domain and usage location, and switching the other way discards the stored user and turns off the Vacation Mode defaults. Change this setting only when you intend to rebuild that part of the template.
{% endhint %}

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/CyberDrain/CIPP/issues/new?template=feature.yml) on GitHub.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cipp.app/user-documentation/identity/administration/jit-admin/templates/edit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
