Skip to content

Clear the suspect flag on a set of relationships

POST
/api/v1/traceability/suspect-links/batch-clear
curl --request POST \
--url https://app.avera.io/api/v1/traceability/suspect-links/batch-clear \
--header 'Content-Type: application/json' \
--data '{ "relationshipIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "comment": "example" }'

Each cleared link gains a version recording the re-verification and the shared comment. Routed through the typed change seam, so the permission check and the record come from the one path. Returns how many links were cleared.

Media typeapplication/json
object
relationshipIds
required
Array<string>
comment
required
string

Example generated

{
"relationshipIds": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
],
"comment": "example"
}

OK

Media type*/*
object
clearedCount
required
integer format: int32