Skip to content

Disconnect Directory User Account

Request

Disconnects the Dierctory User Account for the given sales partner and invalidates it if no other sales partner is connected to it

Security
X-API-KEY or Authorization
Path
idstringrequired

Sales Partner ID

accountIdstringrequired

Directory User Account ID

directoryTypestringrequired

Directory Type of User Account (in lower case)

curl -i -X POST \
  'https://uberall.com/api/sales-partners/{id}/user-accounts/{accountId}/{directoryType}' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Successfully disconnected Directory User Account

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": {}
}