> For the complete documentation index, see [llms.txt](https://developer.ivvy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.ivvy.com/notifications/venue-notifications/venue-notification-unsubscribe.md).

# Unsubscribe

## Unsubscribe From Venue Notification

<mark style="color:green;">`POST`</mark> `[PlatformAddress]/api/1.0/venue?action=unsubscribeFromNotification`

Removes an existing notification subscription for a specific venue.

The API key must have access to the specified venue and must be the same key that was used to create the subscription.

#### Request Body

| Name                                       | Type    | Description                                                    |
| ------------------------------------------ | ------- | -------------------------------------------------------------- |
| venueId<mark style="color:red;">\*</mark>  | integer | The unique identifier of the venue to unsubscribe from         |
| endpoint<mark style="color:red;">\*</mark> | string  | The HTTPS URL currently receiving notifications for this venue |

{% tabs %}
{% tab title="200 " %}

```json
{
    "result": 1
}
```

{% endtab %}
{% endtabs %}

This endpoint removes an existing notification subscription for the specified venue and endpoint. Once unsubscribed, notifications for this venue will no longer be delivered to that endpoint.

## Returns

| Property | Type    | Description                                                     |
| -------- | ------- | --------------------------------------------------------------- |
| result   | integer | A status code indicating the outcome of the unsubscribe request |

## Result Values

| Value | Status               | Description                                                                    |
| ----- | -------------------- | ------------------------------------------------------------------------------ |
| 1     | Success              | The subscription has been removed and notifications will no longer be sent     |
| 2     | Not Requested        | The endpoint was not included in the request                                   |
| 3     | Unknown Error        | An unexpected error occurred. Contact iVvy support if this persists            |
| 4     | Not Found            | No subscription exists for this venue and endpoint combination                 |
| 5     | Incorrect Source     | You must unsubscribe using the same API key that created the subscription      |
| 6     | Status Not Confirmed | The subscription cannot be removed until the initial confirmation is completed |


---

# 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://developer.ivvy.com/notifications/venue-notifications/venue-notification-unsubscribe.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.
