> For the complete documentation index, see [llms.txt](https://docs.ins-pi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ins-pi.com/freelucy/configuration/enable-relationship-deletion.md).

# Enable relationship deletion

By default, YouDesign Freelucy cannot delete relationships from `cmdb_rel_ci`. ServiceNow scoped applications need explicit authorization to delete records on that table. You grant it once, in the global scope, using either of two methods.

{% hint style="danger" %}
**Global scope, System Administrator.** A System Administrator must perform these steps in the **Global** application scope.
{% endhint %}

Pick one of the two methods below. They achieve the same result.

***

## Method A — Authorize via the `cmdb_rel_ci` table

Use this method if you prefer to make the change directly on the table definition.

1. From the ServiceNow homepage, click **All** and filter for **System Definition**, then open **Tables**.
2. Search for `cmdb_rel_ci` under **Name**.
3. Open **CI Relationship**.
4. Click the **Application Access** tab.
5. Tick the **Can delete** checkbox and save.

Users with the Editor role can now delete relationships in Freelucy.

***

## Method B — Authorize via an Update Set

Use this method if you prefer to deploy the change as a packaged Update Set, for example through your normal change pipeline.

Download the Update Set XML:

{% file src="/files/zD3oInMzjPKHqJ72U27e" %}
Allow YouDesign Freelucy Deleting Relationships — ServiceNow Update Set
{% endfile %}

Then import it into ServiceNow:

1. From the ServiceNow homepage, click **All** and filter for **Retrieved Update Sets**.
2. Open **Retrieved Update Sets**.
3. Click **Import Update Set from XML**.
4. Click **Browse**, pick the XML file, and click **Upload**.
5. Open **Allow YouDesign Freelucy Deleting Relationships**.
6. Click **Preview Update Set**.
7. When the preview succeeds, close the dialog.
8. Click **Commit Update Set**.
9. When the commit succeeds, close the dialog.

Users with the Editor role can now delete relationships in Freelucy.

***

## What's next

Continue with [Grant access to users](/freelucy/configuration/grant-access.md).


---

# 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.ins-pi.com/freelucy/configuration/enable-relationship-deletion.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.
