POST
/
api
/
terminate_connection
/
Terminate Connection
curl --request POST \
  --url https://{env}.tartanhq.com/api/terminate_connection/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'client_org=<string>'
{
  "message": "Connection terminated successfully",
  "data": "<string>"
}
If a termination request is made while a data sync is in pr ogr ess, the API will return an error, pr eventing deletion until the sync is complete.

Authorizations

Authorization
string
header
required

Body

multipart/form-data
client_org
string
required

The client organization's identifier to disconnect.

Response

Connection terminated successfully

message
string
Example:

"Connection terminated successfully"

data
string | null