/api/policy/v1/enterprises/{enterpriseId}/touchpoints/{touchpointName}/rules/{id}
Updates a policy rule, resulting in a new version number that's equal to the highest existing version plus 1. The ID of the policy rule remains the unchanged.
enterpriseId
stringRequiredtouchpointName
stringRequiredid
stringRequiredname
string required <= 256 characters
Get approval if transferring more than 2 BTC in a minute
adminOnly
boolean required false
clauses
array[object] required conditions
required actions
required filteringConditions
required name
string required wallet.ids
wallet.ids
parameters
object required lockType
string LOCK_AFTER_DATE
PERMANENT
PERMANENT
lockDate
string <date-time>
2023-11-13T14:49:48.830522Z
id
string required 306258df-dcab-489e-a9fe-ff28ce9fa312
uniqueId
string required cb4e0a0a-2768-4024-904a-178ca6d2cd54
name
string required My first policy rule
status
string required ACTIVE
INACTIVE
DENIED
PENDING_APPROVAL
ACTIVE
version
integer 1
1
adminOnly
boolean required false
touchpointId
string required 0a244ae3-26cf-48ed-9854-edd5b9751f3e
touchpointLabel
string required Transfer from a Wallet
scopeId
string required 08a3f714-c330-41e6-bd83-bad3a8d37188
scopeLabel
string required All Wallets
clauses
array[object] required actions
conditions
filteringConditions
required name
string required wallet.type
wallet.type
parameters
object required locked
boolean required false
lockType
string required LOCK_AFTER_DATE
PERMANENT
PERMANENT
lockDate
string <date-time>
2023-11-13T14:49:48.830522Z
enterpriseId
string 5d1a5f2c8f0a9c001a5f2c8f0ad00000
lastTriggeredDate
string <date-time>
2023-11-13T14:49:48.830522Z
lastTriggeredEvaluationId
string 306258df-dcab-489e-a9fe-ff28ce9fa312
createdBy
string required 5d1a5f2c8f0a9c001a5f2c8f0ad00000
modifiedBy
string required 5d1a5f2c8f0a9c001a5f2c8f0ad00000
createdDate
string <date-time>
required 2023-11-13T14:49:48.830522Z
modifiedDate
string <date-time>
required 2023-11-13T14:49:48.830522Z
lockModifiedBy
string 5d1a5f2c8f0a9c001a5f2c8f0ad00000
evaluationId
string 306258df-dcab-489e-a9fe-ff28ce9fa312
code
string message
string status
integer code
string message
string status
integer code
string message
string status
integer code
string message
string status
integer code
string message
string status
integer