Skip to main content

Request

# Disable
curl -X PATCH "https://api.socialsyncs.co/public/v1/automations/{id}/active" \
  -H "Authorization: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"active": false}'

# Re-enable
curl -X PATCH "https://api.socialsyncs.co/public/v1/automations/{id}/active" \
  -H "Authorization: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"active": true}'

Path Parameters

ParameterTypeDescription
idstringThe automation ID

Body Parameters

FieldTypeRequiredDescription
activebooleanYestrue to enable, false to disable

Response

Returns the updated automation object with the new active value.