> 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**.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-enable-deletion-01.png</code></strong> Open the Tables list under System Definition.</p></div>
2. Search for `cmdb_rel_ci` under **Name**.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-enable-deletion-02.png</code></strong> Find cmdb_rel_ci in the Tables list.</p></div>
3. Open **CI Relationship**.
4. Click the **Application Access** tab.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-enable-deletion-03.png</code></strong> Application Access tab on the CI Relationship table.</p></div>
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.

1. Download the [Allow Freelucy Deleting Relationships Update Set](https://www.ins-pi.com/hubfs/ins-pi%20Website%20Theme/Knowledgebase/FREELUCY/UPDATE%20SET%20Allow%20LUCY%20Deleting%20Relationships.xml.zip) and unzip it. You should see a file named `UPDATE SET Allow LUCY Deleting Relationships.xml`.
2. From the ServiceNow homepage, click **All** and filter for **Retrieved Update Sets**.
3. Open **Retrieved Update Sets**.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-enable-deletion-04.png</code></strong> Retrieved Update Sets list.</p></div>
4. Click **Import Update Set from XML**.
5. Click **Browse**, pick the XML file, and click **Upload**.
6. Open **Allow Freelucy Deleting Relationships**.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-enable-deletion-05.png</code></strong> Open the imported Update Set.</p></div>
7. Click **Preview Update Set**.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>🖼️ <strong>Screenshot needed — <code>v26-enable-deletion-06.png</code></strong> Preview the Update Set.</p></div>
8. When the preview succeeds, close the dialog.
9. Click **Commit Update Set**.
10. 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:

```
GET https://docs.ins-pi.com/freelucy/configuration/enable-relationship-deletion.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.
