# Delete Data

기존 데이터를 삭제하는 동작을 수행해요.

<div align="left"><figure><img src="https://3976660509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDgfvhQgmY9NbRK0Sln7j%2Fuploads%2FIx4Avc3EtRNTwvpvFJqB%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202024-01-03%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%204.18.44.png?alt=media&#x26;token=53455e37-6827-4e9b-9204-d18624c4fd5d" alt="" width="375"><figcaption></figcaption></figure></div>

**Collection for Data Delete :** 삭제하려는 데이터를 포함하는 컬렉션 명을 작성해요.&#x20;

**Data Search Condition to Delete :** 삭제할 데이터를 찾는 필터예요. 삭제하려는 데이터의 항목 ID와 항목 값을 작성해요.

<div align="left"><figure><img src="https://3976660509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDgfvhQgmY9NbRK0Sln7j%2Fuploads%2FrFi50BL00MDMsznWLKfm%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202024-01-09%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%207.27.49.png?alt=media&#x26;token=09e3c67f-2de9-4867-b6a9-d2338984f552" alt="" width="375"><figcaption></figcaption></figure></div>

> 삭제하려는 데이터가 있는 컬렉션에서 \_id가 삭제할 때의 \_id와 같은 데이터를 검색해요.

2024.01.03 Jinny

**Delete Existing Data**

This function facilitates the process of removing the current data.

2023.08.11 Song


---

# 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.ohmyapp.io/main/guide/develop_app/command-execute-function/create-logic/flow_option/delete-existing-data.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.
