Deploy or undeploy a scanner
Deploys or undeploys a scanner based on the provided parameters.
PUT https://hub2.trylevel2.com/broker/update_scanner_strategyRequest:
QUERY PARAMETERS
QUERY PARAMETERS
Required Parameters
Each parameter below is mandatory for a successful request to the deployment endpoint.
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| scanner_id | integer | Required | The unique identifier of the scanner you wish to deploy or undeploy. |
| user_email | email | Required | The registered email address of the user associated with the scanner. |
| should_delete | boolean | Required | Determines the action: Set to true to delete/deactivate, or false to undelete/keep. |
Responces:
Successful response with scanner update confirmation 200
SCHEMA
SCHEMA
EXAMPLE
EXAMPLE
{
"message": "Operation completed successfully"
}Responces:
Internal Server Error 500
SCHEMA
SCHEMA
| Parameter | Type | Description |
|---|---|---|
| error | string | A descriptive message detailing the specific issue encountered. |
EXAMPLE
EXAMPLE
{
"error": "An unexpected error occurred"
}Last updated on