GET /api2/tm/rulesets/$/deduplication viewer
PUT /api2/tm/rulesets/$/deduplication user
inf and reference an existing hardware port, otherwise the request is refused with 400 (deduplication_ports_inf_only, deduplication_ports_must_exist on ports); a port that is not available ("available": false, which is what a port the license does not cover reports) is refused with a 500 naming the port, as on every other port-bearing endpoint.PUT /api2/tm/rulesets/$/deduplication accepts an optional ?dry_run=true query parameter. With the flag set, the handler runs all the same checks as the non-dry-run call but does not persist to the DAO and does not push to the network module. Returns 200 {} on success; error responses (status code and body) are identical to the non-dry-run call.
{
"ports": [
{
"id": 1,
"type": "inf"
},
{
"id": 2,
"type": "inf"
},
{
"id": 3,
"type": "inf"
}
]
}