> For the complete documentation index, see [llms.txt](https://software-help-docs.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://software-help-docs.gitbook.io/knowledge-base/software-guide/opportunities/how-to-end-an-opportunity.md).

# How to End an Opportunity

Depending on the situation, if an Opportunity isn't going to work out or close, you may want to delete or archive the Opportunity. There are multiple ways to do this.

**Part 1: Update Opportunity Status.** You can update the Opportunity status if it isn't going to work out, to either "lost" or "abandoned".

{% embed url="<https://lh4.googleusercontent.com/KCRepXalZrkGTBSORED0P7Nz3vxiJGa0RrOGlTQnHXLZ7qd_CD_9Wygn7sTE9s3TOpBxRkjv_IhnEHFjwsQPebbx_V5dgHlIIpI_Yub5-BymGwxIrjh-UrwPIo3gqOUeP4K7I7U=s0>" %}

**Step 1:** Click on the Opportunity and scroll to the bottom.

**Step 2:** Under the "Status" dropdown, change the status appropriately.

**Step 3:** Hit Save to update your changes.

**Part 2: Delete an Opportunity.** You can do this to remove it from the list entirely.

{% embed url="<https://lh3.googleusercontent.com/jTtEQjoMvCsQxZ9BD-NoDwcV9_yb3NIouXAlPNnBQ8vMNydGRNyuOWWjb83VlCS3S5MXzC9GFB4K3BJoDpuBg3qA8WEn768p20EeTsxrhXe7PhHOSr-RrvdR8N5-dOd31xryZGs=s0>" %}

**Step 1:** Click on the Opportunity and scroll to the bottom.

**Step 2:** Scroll to the bottom and click the red "Delete" button. This will completely delete the Opportunity.


---

# 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://software-help-docs.gitbook.io/knowledge-base/software-guide/opportunities/how-to-end-an-opportunity.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.
