> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/data-manager/vendors/edit-legal-basis-of-purpose-for-vendor.md).

# Edit legal basis of purpose for vendor

{% hint style="success" %}
**Access Type**: Data Manager - Editor
{% endhint %}

A legal basis is the mechanism used by a vendor that defines the lawful ground that justifies the collection and processing of personal data for a given purpose. In this article, we will cover the following:

* [Legal basis overview](#legal-basis-overview)
* [Edit legal basis of purpose for vendor](#edit-legal-basis-of-purpose-for-vendor)

{% hint style="warning" %}
**Note**: Editing the legal basis for a purpose (e.g. changing a purpose from legitimate interest to consent) can impact your organization's monetization.
{% endhint %}

***

### Legal basis overview

When a purpose is initially added to a vendor it can utilize one of two legal basis which define the legal mechanism used to process end-user data:

<table data-header-hidden><thead><tr><th width="309"></th><th></th></tr></thead><tbody><tr><td>Opt-in (based on consent)</td><td>The end-user needs to explicitly consent to the data processing involved with the stated purpose</td></tr><tr><td>Opt-out (based on legitimate interest)</td><td>The end-user is by default opted-into the data processing involved with the stated purpose and they have the option to reject the purpose. This processing must be legitimate, necessary, and not prejudice the rights and interests of individuals.</td></tr></tbody></table>

The ability to edit the legal basis for a purpose depends on factors such as the vendor type and purpose type being edited. Refer to the matrix below for more information:

<table><thead><tr><th width="169">Vendor type</th><th width="314">IAB purposes</th><th width="127">Global purposes</th><th>Custom purposes</th></tr></thead><tbody><tr><td>IAB vendor</td><td>IAB purposes are predefined and managed by the IAB TCF framework and cannot be edited. If your organization has added any additional IAB purposes other than what was predefined for the vendor then these can be edited.<br><br><mark style="background-color:$warning;"><strong>Note</strong>: Publisher restrictions are available via the consent notice settings to enforce any organizational restrictions you my require.</mark> <a href="/pages/BmPZq0hNUw9b08EOmpIN"><mark style="background-color:$warning;">Click here</mark></a> <mark style="background-color:$warning;">for more information.</mark></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Google ATP vendor</td><td>IAB purposes are predefined and managed by the IAB TCF framework and cannot be edited. If your organization has added any additional IAB purposes other than what was predefined for the vendor then these can be edited.<br><br><mark style="background-color:$warning;"><strong>Note</strong>: Publisher restrictions are available via the consent notice settings to enforce any organizational restrictions you my require.</mark> <a href="/pages/BmPZq0hNUw9b08EOmpIN"><mark style="background-color:$warning;">Click here</mark></a> <mark style="background-color:$warning;">for more information.</mark></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Global vendor</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Custom vendor</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr></tbody></table>

### Edit legal basis of purpose for vendor

Click **Data Manager** in the left-hand panel and select the **Vendors** tab on the subsequent page.&#x20;

<figure><img src="/files/6QE5kYJyyRCJ2hrYBOl2" alt="" width="563"><figcaption></figcaption></figure>

Navigate to a vendor on the subsequent list and click **Edit** inline with the vendor name.&#x20;

<figure><img src="/files/dmIHD40QPISJnKdJq7da" alt="" width="563"><figcaption></figcaption></figure>

Use the respective **opt-in purposes** or **opt-out purposes** drop-down menu and deselect the purpose that is being edited for a new legal basis.

<figure><img src="/files/OARkvrQPWLUHQTS2WqLE" alt="" width="375"><figcaption></figcaption></figure>

Next, navigate to the dropdown menu for the new legal basis of the purpose and select it from the menu.

<figure><img src="/files/RvdZBues2E1mgyxrwoGR" alt="" width="375"><figcaption></figcaption></figure>

Click **Save** when finished. The legal basis for the purpose will be edited according to your selections.

<figure><img src="/files/YebidHgvSLgW0rvwcixn" alt="" width="563"><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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.didomi.io/data-manager/vendors/edit-legal-basis-of-purpose-for-vendor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
