---
title: "Disconnect user accounts"
method: DELETE
path: "/appwise/v2/accounts"
tags: ["UserAccounts"]
---

# Disconnect user accounts

`DELETE /appwise/v2/accounts`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/appwise/v2/accounts`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/appwise/v2/accounts/delete.ts> (a function with typed inputs; its response is checked against the schema)

Disconnects an existing user account from Search. To access this API, you must configure product-scoped OAuth2 authentication for the application.

## Query parameters

- `appId` string, required
- `accountName` string, required
- `callbackUrl` string

## Response `200`

Success

- UserAccountDisonnectionResponse: Response after request is made to disconnect a user account from Search
  - `app` ApplicationToDisconnect: Identifies the application to be disconnected from Search
    - `id` string: Application UUID. Note: Application UUID = Product UUID.
  - `user` UserToDisconnect: The user to be disconnected from Search
    - `userId` string: The user's UUID
    - `companyId` string: The user's company's UUID
  - `connection` DisconnectionDetails: The user account (accountName) to be disconnected from Search, and the account status
    - `accountName` string: The user account name (accountName) to disconnect from Search
    - `status` string, required: Disconnection status

## Other responses

- `400`: Input is invalid or malformed
- `401`: Request cannot be authenticated
- `403`: Request is authenticated but does not have permission to access the resource(s)
- `502`: Internal services are unavailable

## Changes

- **2026-11-06** `1fc240f06971`: 5 breaking, 23 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - …24 more

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/appwise/v2/accounts/delete.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
