Skip to main content
PUT
/
api
/
rules
/
{ruleId}
curl -X PUT https://api.linquid.io/api/rules/rule_def456 \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "priority": 2
  }'
ruleId
string
required
Rule identifier

Request Body

All fields are optional. Supported fields include:
  • name, description
  • type, conditions
  • destinationUrl
  • priority, enabled
  • deep-link fields (deepLinkEnabled, deepLinkIos, deepLinkAndroid, deepLinkFallbackUrl, inappBrowserBreakout)
  • redirect behavior flags (forwardUtms, preserveQueryParams, redirectDelayMs)

Access and gates

  • Permission: rules:update
  • Plan gating applies for advanced rule types and deep-link features
curl -X PUT https://api.linquid.io/api/rules/rule_def456 \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": false,
    "priority": 2
  }'

Common Errors

  • 400: invalid rule conditions, URL validation failure
  • 403: feature not available for current plan
  • 404: rule not found