Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/connected-accounts/disconnect-listing

Disconnect Location from Listing

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.
Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Headers

NameTypeRequiredDescription
Content-Typestringrequired

Body

NameTypeRequiredDescription
inputobjectrequired
input.locationIdstringrequiredBase64 encoded location ID
input.sitestringrequiredThe platform from which to disconnect the listing
GOOGLEFACEBOOK

Request

Request
curl -X POST 'https://api.synup.com/api/v4/connected-accounts/disconnect-listing' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "locationId": "TG9jYXRpb246Mjc1ODM2",
    "site": "GOOGLE"
  }
}'

Responses

StatusDescription
200Disconnection process completed
400Invalid request - Malformed base64 string or invalid site value
401Unauthorized - Invalid or missing API key
403Forbidden - Insufficient permissions
404Not Found - Location or listing not found
Example response (generated from the schema)
{
  "data": {
    "disconnectConnectedAccountsLocations": {
      "clientMutationId": "string",
      "errors": {},
      "success": true
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.disconnectConnectedAccountsLocationsobjectoptional
data.disconnectConnectedAccountsLocations.clientMutationIdstringoptionalClient mutation identifier if provided
data.disconnectConnectedAccountsLocations.errorsobjectoptionalHash containing any errors that occurred during disconnection
data.disconnectConnectedAccountsLocations.successbooleanrequiredIndicates if the disconnection was successful. Returns true if the account was successfully disconnected from the location.