See Stacksync in action with a solution architect. Book a demo ↗
Connections

Connections

Delete a connection

DELETE
/v1/workspaces/{workspace_id}/connections/{connection_id}

Refused while a sync, workflow, API proxy or scheduled task uses the connection.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

connection_id*string

The connection.

Formatuuid

Query Parameters

region*Region

Region of the connection: besg or usnv

Value in"besg""usnv"

Response Body

OK

application/json
  1. response
data*
Delete a connection
curl -X DELETE 'https://api.stacksync.com/v1/workspaces/0/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=usnv'
{  "data": {    "connection_id": "<connection_id>"  }}