Skip to main content

Configure interactive browser authentication for a target

PUT 

/targets/:id/browser-authentication/

PUT /targets/<pk>/browser-authentication/ (BAW-1997)

Dedicated endpoint for interactive browser-authentication configuration on Postman/Bruno API targets. Gated by allow_interactive_browser_login at the permission layer; the request body is delegated to APIScanSettingsSerializer (single source of truth for the browser-auth field validators).

Mirrors the per-auth-mode pattern used by PostmanAuthenticationView / BrunoAuthenticationView rather than routing on payload-key presence inside TargetApiScanSettingsView — that dual-purpose shape produced a discriminator-less oneOf on request+response, forced an oasdiff severity downgrade, and made BrunoEntitled inspect the request body. Splitting them removes all three.

Request​

Responses​