# Configure legitimate interest behavior when end-user disagrees

Our console allows you to choose how legitimate interest is affected when a user disagrees.

This means that you can either deactivate or keep activated a purpose based on legitimate interest when a user disagrees from the first view of the notice and on the 2nd view (purposes' layer)

To achieve this, please follow this procedure:

* Go to your consent notice in the Didomi console. (1)
* Click on the fourth step 1. Regulations. (2)
* Go to the Consent settings tab. (3)

<figure><img src="/files/WPOYO5joEAjz1ir6fsU2" alt=""><figcaption></figcaption></figure>

Scroll down to the Legitimate interest section.

<figure><img src="/files/gzKkWvYkDsQ4cddjYdAH" alt=""><figcaption></figcaption></figure>

Select one option, both or none, depending on how you want the legitimate interest legal basis to behave.

The 1st option concerns a refusal on the 1st layer of the banner, the 2nd option concerns a refusal on the 2nd layer.

👉Didomi recommends deactivating legitimate interest from the moment a user disagrees. We encourage you to discuss this topic with your legal department.

{% hint style="info" %}
To deactivate legitimate interest from the moment a user disagrees, none of the two options should be selected.
{% endhint %}

Focus on option A) If a user disagrees on the first view of the notice, only purposes based on consent will be refused, and all vendors and purposes based on legitimate interest will be kept enabled.

To disable legitimate interest, the user will have to do it in the preference view.

<figure><img src="/files/Mcpmam0ibwfclUX9Y9Z4" alt=""><figcaption></figcaption></figure>

Focus on option B) If the user disagrees to all on the second view of the notice (preference view), only purposes based on consent will be refused, and all vendors and purposes based on legitimate interest will be kept enabled.

To disable legitimate interest, the user will have to make specific choices for the vendors and purposes.

<figure><img src="/files/tUf4el0IzBmRDPhQtEtM" alt=""><figcaption></figcaption></figure>

This option refers to the button "Disagree to all" at the bottom of your banner:

<figure><img src="/files/HXTSf9u9yR3RbvBayh06" alt=""><figcaption></figcaption></figure>

⚠️ Please note: This option is only applicable the first time the banner is opened and not when the user changes his preferences. The button will not be displayed if a choice has already been made or if the user has started making a granular selection.


---

# Agent Instructions: 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:

```
GET https://docs.didomi.io/consent-management-platform-cmp/frameworks-regulations/iab-tcf/configure-legitimate-interest-behavior-when-end-user-disagrees.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
