Enable or disable the Security add-on on a project

Turns the modules of the Security add-on on or off for a project. patchstack installs the vulnerability firewall on the site, activity_log starts the audit trail. Enabling either one activates the add-on and its billing for the project. This is a full replacement: a module omitted or sent as false is turned off. The work happens on the site, so the call returns a process id to poll on GET /processes/{processId}/status. A body that matches the current state changes nothing and returns a null process id with every change reported as noop.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID

Body Params
boolean
Defaults to false

Install the Patchstack vulnerability firewall on the site

boolean
Defaults to false

Record the site activity log

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json