> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/lifecycle-management/jitpbac/purposes/edit-purpose.md). Agents can also search and read this documentation through its [MCP server](https://docs.balkan.id/~gitbook/mcp).

# Edit purpose

This document explains how to edit a purpose.

1. Navigate to the ‘Purposes & Constraints’ tab in the side navigation bar to open the Purposes page. This page lists all the purposes that have been set up for your tenant.
2. To edit a purpose, scroll to the right of the purposes table and click on the 'Pencil (Edit)' icon next to the relevant purpose.<br>

   <figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FE16JRNrx0AZ9H5McoEW9%2FScreenshot%202025-08-27%20at%206.27.04%E2%80%AFPM.png?alt=media&amp;token=2ca55cfa-cec3-4ea5-8d2c-e40612c8f1bf" alt=""><figcaption></figcaption></figure>
3. Update the desired fields and click **Save** to apply the changes.<br>

   **Team** lists the teams set on employees, and you cannot type a new team. If the purpose already has a team that no employee has, the field still shows it, and the team stays until you pick another team or clear the field. The API rejects any other team that no employee has. Team does not decide which users get the purpose.<br>

   <figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FomXkLuWknNeJWb81YzUE%2FScreenshot%202025-08-27%20at%206.18.24%E2%80%AFPM.png?alt=media&amp;token=37270082-ff3e-406f-bbda-944b936eec18" alt=""><figcaption></figcaption></figure>
4. The users assigned to a purpose can be viewed by clicking on the Users tab, located next to the Connections tab on the Edit Purposes page. This tab displays a list of assigned users along with additional details, such as the status, which indicates whether the users have started their purpose or if it has been stopped.

   Users can also be removed or unassigned from the purpose by clicking on the Delete/Trash icon located to the right of the user in the table.\
   \
   To assign users to a purpose please refer to [Create user-purpose access request](https://docs.balkan.id/lifecycle-management/jitpbac/purposes/create-user-purpose-access-request.md)<br>

   <figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2F8aVzSVnenRvIR3i9oyvr%2FScreenshot%202025-08-27%20at%206.21.29%E2%80%AFPM.png?alt=media&amp;token=b9863e1c-6898-44c8-905c-d33357467cc5" alt=""><figcaption></figcaption></figure>


---

# 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.balkan.id/lifecycle-management/jitpbac/purposes/edit-purpose.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.
