Dismiss vulnerability
Marks a finding as accepted risk so it stops appearing in the open findings list. The dismissal is recorded with the caller and comment, and later tests will not re-raise the finding. Reverse it with the reopen endpoint.
Authorizations
JWT login token tied to your Perfai user (not a separate API key). Obtain it via POST /api/v1/auth/token with your username and password (use the returned id_token) — the same login the web console performs. Carries org, user, and role; short-lived.
Path Parameters
MongoDB ObjectId of the finding — the id of an item from GET /apps/{appId}/vulnerabilities.
Body
Why the finding was dismissed or marked fixed. Stored on the finding and, for dismissals, on the audit record.
1000Response
Finding dismissed.
State of the finding after the action.
DISMISSED, FIX_CLAIMED, OPEN A security finding, projected onto the public contract — internal test plumbing (token, decodedKey, errors, buildDetails) is never emitted. This is the same detail the Perfai dashboard shows a user. Only id, label, severity, path and method are present on every finding; every other field is conditional and omitted when the scan produced no value for it.

