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

# Remove Application

Deletes the store's access token and removes your app's access to the store. Call it each time a merchant uninstalls your app in your product. Yotpo also deletes the store's webhook subscriptions, then sends App Disconnected. This can't be undone: if the merchant installs your app again, you get a new token and create the subscriptions again.

# 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": {
    "/v2/{account_id}/access_tokens/{access_token}": {
      "delete": {
        "summary": "Remove Application",
        "description": "Deletes the store's access token and removes your app's access to the store. Call it each time a merchant uninstalls your app in your product. Yotpo also deletes the store's webhook subscriptions, then sends [App Disconnected](ref:app-disconnected). This can't be undone: if the merchant installs your app again, you get a new token and create the subscriptions again.",
        "operationId": "remove-application",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Your account's API app key",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "access_token",
            "in": "path",
            "description": "Your Yotpo access token. Click [here](ref:generate-a-token) to learn how to generate one",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "message": {
                          "type": "string",
                          "example": "OK"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "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."
                    }
                  }
                }
              }
            }
          }
        },
        "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

* [Table of Contents](https://docs.yotpo.com/reference/partners-table-of-contents.md)
* [Guidelines and Conventions](https://docs.yotpo.com/reference/partners-guidelines-and-conventions.md)
* [Changelog](https://docs.yotpo.com/reference/partners-changelog.md)
* [Generate Access Token](https://docs.yotpo.com/reference/generate-a-token.md)
* [Retrieve Token Info](https://docs.yotpo.com/reference/retrieve-token-info.md)
* [Yotpo Postman Collection](https://docs.yotpo.com/reference/yotpo-postman-collection.md)