SyncsTriggers
Sync triggers
Pause or resume a sync trigger
POST
Pause a trigger so it stops running, or resume it. A paused trigger keeps its definition.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace the resources belong to
base_id*stringThe sync (a sync is called a base in these paths)
Format
uuidtrigger_id*stringThe trigger
region*stringData region of the sync
Value in
"besg""usnv"Pause or resume
application/json- body
Pause or resume the trigger
action*stringpause stops the trigger from running, unpause resumes it
Value in
"pause""unpause"The trigger paused or resumed
application/json- response
What was done
msg*stringWhat was done
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/triggers/string/update-status?region=besg' \ -H 'Content-Type: application/json' \ -d '{ "action": "pause"}'{ "msg": "Trigger status updated successfully"}