Connections
Delete a connection
Refused while a sync, workflow, API proxy or scheduled task uses the connection.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
connection_id*stringThe connection.
uuidregion*RegionRegion of the connection: besg or usnv
"besg""usnv"OK
application/json- response
data*curl -X DELETE 'https://api.stacksync.com/v1/workspaces/0/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=usnv'{ "data": { "connection_id": "<connection_id>" }}POSTUpdate a connection
Rename a connection, share it with the workspace, or replace its credentials (validated by the app first). Any editor who can see a connection shared with the workspace can update it.
POSTReauthorize a connection
Replace the credentials of a connection after testing them on the app of a sync that uses it. The test covers that sync only, not the other syncs or API proxies of the connection. Answers the connection without its secrets.