Skip to content

Disconnect a business

Request

Deletes or disconnects the current business connection

Security
X-API-KEY or Authorization
Path
directoryTypestringrequired

Type of the directory

businessIdstringrequired

Id of the Business

Bodyapplication/json

Business connection parameters

disconnectAllboolean

Boolean flag indicating whether disconnect should remove all created connections originated from business connect (only applies for Facebook)

curl -i -X PUT \
  'https://uberall.com/api/business-connections/{directoryType}/disconnect/{businessId}' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "disconnectAll": true
  }'

Responses

Business successfully disconnected

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {}
}