Skip to Content
Welcome to Level2 Help Center
APIEndpointsDeploy or undeploy a scanner

Deploy or undeploy a scanner

Deploys or undeploys a scanner based on the provided parameters.

PUT https://hub2.trylevel2.com/broker/update_scanner_strategy

Request:

QUERY PARAMETERS

Required Parameters

Each parameter below is mandatory for a successful request to the deployment endpoint.

ParameterTypeRequirementDescription
scanner_idintegerRequiredThe unique identifier of the scanner you wish to deploy or undeploy.
user_emailemailRequiredThe registered email address of the user associated with the scanner.
should_deletebooleanRequiredDetermines the action: Set to true to delete/deactivate, or false to undelete/keep.

Responces:

Successful response with scanner update confirmation 200

SCHEMA

Success Parameter

ParameterTypeDescription
messagestringA human-readable success message indicating the operation was completed.

EXAMPLE

{ "message": "Operation completed successfully" }

Responces:

Internal Server Error 500

SCHEMA

ParameterTypeDescription
errorstringA descriptive message detailing the specific issue encountered.

EXAMPLE

{ "error": "An unexpected error occurred" }
Last updated on