tools.ozone.safelink.updateRule
#main
Update an existing URL safety rule
Input
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| url | string | - | ✅ | The URL or domain to update the rule for |
| pattern | tools.ozone.safelink.defs#patternType | - | ✅ | - |
| action | tools.ozone.safelink.defs#actionType | - | ✅ | - |
| reason | tools.ozone.safelink.defs#reasonType | - | ✅ | - |
| comment | string | - | ❌ | Optional comment about the update |
| createdBy | string (did) | - | ❌ | Optional DID to credit as the creator. Only respected for admin_token authentication. |
Output
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| ref | tools.ozone.safelink.defs#event | - | ✅ | - |