v1

latestOpenAPI 3.1.02026-07-177545150.1 KB
Server Management

Rescan Server

Trigger a manual security scan for a server.

Initiates a new security scan for the specified server and returns the results. This endpoint is useful for re-scanning servers after updates or for on-demand security assessments.

Authentication: JWT Bearer token or session cookie Authorization: Requires admin privileges

Path Parameters:

  • path (required): Server path (e.g., /cloudflare-docs)

Response: Returns the newly generated security scan results.

Example:

curl -X POST http://localhost/api/servers/cloudflare-docs/rescan \
  --cookie-jar .cookies --cookie .cookies
post/api/servers/{path}/rescan

Path parameters

pathstring required

Response

Successful Response

{"stackTrail":"paths:/api/servers/{path}/rescan:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}