Skip to navigation

Exclude a topology record

Takes the record out of the map and out of testing, and keeps it so later recon runs do not document it again. Excluding a component also removes its application, and hides its flows and threats. Nothing is deleted: restore an earlier version to bring it back.

Requires the inventory:write API key scope.

Authentication

AuthorizationBearer

A workspace API key, sent as Authorization: Bearer.

OR
x-api-keystring

A workspace API key, sent as x-api-key.

Path parameters

recordIdstringRequired

Topology record id, e.g. cmp_8f2a1c0d33.

Request

This endpoint expects an object.
reasonstringRequired>=1 character

Response

The record is excluded.
excludedboolean
versioninteger

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error