# View deleted items using query string

{% hint style="danger" %} <mark style="color:red;">**You must be an administrator of the Registry to be able to perform these actions.**</mark>
{% endhint %}

The Administrators and the Superusers of the Aristotle Metadata Registry have access to delete the items. Once the item is deleted, the users cannot find the item using the search bar.&#x20;

* For example, the item 'Business: Age, Years Number' has id='59'.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2Fzt6LIdlBEUWsTSl4vfAn%2F1.PNG?alt=media&#x26;token=2ee98d7b-5fee-4aab-9cc5-5feca0501b13" alt=""><figcaption></figcaption></figure>

* Once deleted, if you will try to search for the item in the search bar and it will show 0 results.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FbIdL6iTBgUXUXJXYyiVd%2F1.PNG?alt=media&#x26;token=60cfd4bd-85a6-4461-a648-7dc0c56d86e0" alt=""><figcaption></figcaption></figure>

* To view the deleted item, the direct and quick way is to search for the item through a query string. The first step is to add '/item/59' at the end of the registry URL, where 59 is the metadata Id we want to look for in the deleted list and press enter. It will show page not found.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FIYinbIt4bda6vAa7nfXu%2F1.PNG?alt=media&#x26;token=e8068f34-3900-4d17-bc22-e3ac6e9d710f" alt=""><figcaption></figcaption></figure>

* Add the query string '?show\_deleted=true' at the end of the URL and press enter.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FvELfK5bVMghaOnK8J0QN%2F1.PNG?alt=media&#x26;token=5b50248f-2579-4352-89ed-27f14268d716" alt=""><figcaption></figcaption></figure>

* After enter, you will notice the URL is changed, The URL tells us that the item has Id=59 and it is a data element, named 'business-age-years-number'

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FDptVWsDBtHWXmHBuc12T%2F1.PNG?alt=media&#x26;token=fe2c617b-a2c2-45eb-a1d6-fd024cc69b07" alt=""><figcaption></figcaption></figure>

* To find the deleted item, add the query string '?show\_deleted=true' at the end of the URL, which shows the item id as '59', stored as a 'dataelement' and the item name is 'business-age-years-number'

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FaVsHn53dGmnCj45AxvoF%2F1.PNG?alt=media&#x26;token=16d6e216-2514-42cd-ba56-2be365b7ca3b" alt=""><figcaption></figcaption></figure>

* Press enter and it will show the deleted item. The item needs to be restored if you want to make any changes to the deleted item.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FIGXvFNw8woPLlk4TMfJJ%2F1.PNG?alt=media&#x26;token=e4545728-2de7-440e-a305-206fe557c895" alt=""><figcaption></figcaption></figure>
