PUT
/
v1
/
rule
/
update
/
{rule_id}
curl --request PUT \
  --url https://api.decodahealth.com/v1/rule/update/{rule_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '{
  "amountGreaterThan": 123,
  "amountLessThan": 123,
  "delayInDays": 123,
  "lessThanOrEqualTo": 123,
  "message": "<string>",
  "method": "Native"
}'
{
  "amountGreaterThan": 123,
  "amountLessThan": 123,
  "delayInDays": 123,
  "id": "<string>",
  "lessThanOrEqualTo": 123,
  "message": "<string>",
  "method": "Native",
  "name": "<string>",
  "ruleSetId": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

rule_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.