Skip to main content
PUT
/
transactions
/
rules
/
{id}
Update rule
curl --request PUT \
  --url https://api.txcloud.io/v1/transactions/rules/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "condition": "<string>",
  "action": "<string>",
  "score_adjustment": 123,
  "enabled": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
description
string
condition
string
action
string
score_adjustment
integer
enabled
boolean

Response

200

Rule updated