---
title: "Disconnect Location from Listing"
method: POST
path: "/connected-accounts/disconnect-listing"
tags: ["Connected Accounts"]
---

# Disconnect Location from Listing

`POST /connected-accounts/disconnect-listing`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/connected-accounts/disconnect-listing`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/connected-accounts/disconnect-listing/post.ts> (a function with typed inputs; its response is checked against the schema)

This API removes the connection between a location in your account and its associated Google My Business or Facebook Page listing.

**Required Fields:**
- locationId – Base64-encoded unique identifier of the location.
- siteType – Specifies the platform (Google My Business or Facebook Page).

**Behavior:**
- Once disconnected, the system stops syncing and managing the listing.
- The listing remains active on the external platform, but updates from your system will no longer be applied.

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body

- DisconnectListingRequest
  - `input` object, required
    - `locationId` string, required: Base64 encoded location ID
    - `site` 'GOOGLE' | 'FACEBOOK', required: The platform from which to disconnect the listing

## Response `200`

Disconnection process completed

- DisconnectListingResponse
  - `data` object
    - `disconnectConnectedAccountsLocations` object
      - `clientMutationId` string, nullable: Client mutation identifier if provided
      - `errors` object, nullable: Hash containing any errors that occurred during disconnection
      - `success` boolean, required: Indicates if the disconnection was successful. Returns true if the account was successfully disconnected from the location.

## Other responses

- `400`: Invalid request - Malformed base64 string or invalid site value
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - Insufficient permissions
- `404`: Not Found - Location or listing not found

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
