---
updatedAt: 2026-11-12T06:08:18.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Delete app subscription

Deletes a webhook subscription per account.

> ❗️ Don't delete your app subscription when one merchant uninstalls
>
> An app subscription covers every store that installs your app, and it's how you receive [App Disconnected](https://docs.yotpo.com/reference/app-disconnected). Deleting it stops app-level events for all stores. When a merchant uninstalls, Yotpo removes that store's own subscriptions for you (see [Remove Application](https://docs.yotpo.com/reference/remove-application)).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/core/v3/applications/{application_id}/webhooks/subscriptions/{yotpo_subscription_id}": {
      "delete": {
        "summary": "Delete app subscription",
        "description": "Deletes a webhook subscription per account.",
        "operationId": "delete-app-subscription",
        "parameters": [
          {
            "name": "application_id",
            "in": "path",
            "description": "Your app's client ID: the 32-character ID you received when you registered your app, the same value you send as `client_id` to [Generate Access Token](ref:generate-a-token). It isn't the numeric app ID: that returns `403 {\"message\": \"Forbidden\"}`.",
            "schema": {
              "type": "string"
            },
            "required": true,
            "example": "YOUR_CLIENT_ID"
          },
          {
            "name": "yotpo_subscription_id",
            "in": "path",
            "description": "The ID of the subscription to delete",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK. The response has no body."
          },
          "401": {
            "description": "Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.",
            "content": {
              "application/json": {
                "examples": {
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "OAuth error code: `invalid_request` when no token was sent, `invalid_token` when the token is unknown, revoked or expired.",
                      "enum": [
                        "invalid_request",
                        "invalid_token"
                      ]
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "`application_id` isn't your app's client ID (for example, you sent the numeric app ID).",
            "content": {
              "application/json": {
                "examples": {
                  "Wrong application_id": {
                    "value": {
                      "message": "Forbidden"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Always `Forbidden`."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Subscription not found": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"webhook subscription not found\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "webhook subscription not found",
                            "description": "Says which object wasn't found. Meant for logs; the wording can change, so don't parse it."
                          }
                        }
                      },
                      "description": "The errors. Usually one item."
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Unexpected error": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"unexpected error, try again later\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "unexpected error, try again later",
                            "description": "A general error message. Retry with backoff."
                          }
                        }
                      },
                      "description": "The errors. Usually one item."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Create app subscription](https://docs.yotpo.com/reference/create-app-subscription.md)
* [Retrieve app subscriptions](https://docs.yotpo.com/reference/retrieve-app-subscriptions.md)
* [Retrieve app subscription by ID](https://docs.yotpo.com/reference/retrieve-app-subscription-by-id.md)
* [Update app subscription](https://docs.yotpo.com/reference/update-app-subscription.md)