The id of the Organization this Policy Rule belongs to (for organization-scoped rules).
When present, indicates this is an organization-level policy rule that requires
organization admin approval rather than enterprise admin approval.
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
idstringrequired
Id of the Policy Rule. This identifier is not unique in isolation, it must be paired with an specific Policy Rule Version number to uniquely identified a particular version of a Policy Rule. A UUID.
Min length: >= 1 characters
Example: 306258df-dcab-489e-a9fe-ff28ce9fa312
uniqueIdstringrequired
The uniqueId of the Policy Rule version. A UUID.
Min length: >= 1 characters
Example: cb4e0a0a-2768-4024-904a-178ca6d2cd54
enterpriseIdstringrequired
The id of the Enterprise this Policy Rule belongs to.
Min length: >= 1 characters
Example: 59cd72485007a239fb00282ed480da1f
namestringrequired
Human readable name of the rule
Min length: >= 1 characters
Example: My first policy rule
statusOne ofrequired
Indicates if the Policy Rule is considered in Evaluations. * "ACTIVE" - Will be Evaluated. * "INACTIVE" - Will NOT be Evaluated. * "DENIED" - The requested policy rule change was Denied. * "PENDING_APPROVAL" - This version of the policy rule is Pending Approval before it can be activated.
Example: ACTIVE
versionnumberrequired
The Policy Rule Version, an integer that is incremented each time the Policy Rule changes.
Default: 1
Example: 1
adminOnlybooleanrequired
true, if the Policy Rule is a BitGo internal rule. Typically, this allows setting Global Policy Rules across enterprises.
Example: false
filteringConditionsarray[object]required
Filter by wallet type.
createdBystringrequired
The id of the user who created the Policy Rule or the string 'BitGo'.
Min length: >= 1 characters
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
modifiedBystringrequired
The id of the user requesting to modify the Policy Rule or the string 'BitGo'.
Min length: >= 1 characters
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
ipstring
Min length: >= 1 characters
requestIdstring
Min length: >= 1 characters
previousUniqueIdstring
Min length: >= 1 characters
clausesarray[object]
List of Policy Rule Clauses: a combination of Conditions and Actions.
lockModifiedBystring
The id of the user requesting to unlock the Policy Rule.
Min length: >= 1 characters
Example: 5d1a5f2c8f0a9c001a5f2c8f0ad00000
lockDatestring
The timestamp until which the Policy Rule is unlocked. This is a string representing a date in ISO 8601 format.
Min length: >= 1 characters
lockDurationSecondsnumber
The duration in seconds for which the Policy Rule should be unlocked.
At approval time, lockDate is recalculated as now + lockDurationSeconds.