OWASP ZAP · Capability
ZAP API — forcedUser
ZAP API — forcedUser. 4 operations. Lead operation: forcedUser. Self-contained Naftiko capability covering one Owasp Zap business surface.
What You Can Do
GET
Forceduseractionsetforceduser
— Sets the user (ID) that should be used in 'forced user' mode for the given context (ID)
/v1/json/forceduser/action/setforceduser
GET
Forceduseractionsetforcedusermodeenabled
— Sets if 'forced user' mode should be enabled or not
/v1/json/forceduser/action/setforcedusermodeenabled
GET
Forceduserviewgetforceduser
— Gets the user (ID) set as 'forced user' for the given context (ID)
/v1/json/forceduser/view/getforceduser
GET
Forceduserviewisforcedusermodeenabled
— Returns 'true' if 'forced user' mode is enabled, 'false' otherwise
/v1/json/forceduser/view/isforcedusermodeenabled
MCP Tools
sets-user-id-that-should
Sets the user (ID) that should be used in 'forced user' mode for the given context (ID)
read-only
idempotent
sets-if-forced-user-mode
Sets if 'forced user' mode should be enabled or not
read-only
idempotent
gets-user-id-set-forced
Gets the user (ID) set as 'forced user' for the given context (ID)
read-only
idempotent
returns-true-if-forced-user
Returns 'true' if 'forced user' mode is enabled, 'false' otherwise
read-only
idempotent