Delete Tickets

/msp/ticket_delete.php

Delete remediation tickets in the user’s account.Multiple tickets can be deleted at one time in bulk. Many ticket parameters are supported for selecting what tickets you’d like to edit. Basic HTTP authentication is required. Session based authentication is not supported using this API.   

Ticket limit - A maximum of 20,000 tickets can be deleted in one ticket_delete.php request. It’s recommended best practice that you choose to schedule batch updates to occur when ticket processing will least impact user productivity. If the ticket_delete.php request identifies more than 20,000 tickets to be edited, then an error is returned.

Permissions - Managers can delete tickets for all IPs in the subscription, Unit Managers can delete tickets for IPs in their own business unit, Scanners and Readers do not have permission to delete tickets.

Input ParametersInput Parameters

Click here to view ticket selection parameters. At least one ticket selection parameter must be specified.

Sample - Delete Single TicketSample - Delete Single Ticket

API Request

https://<qualys_base_url>/msp/ticket_delete.php?ticket_numbers=2487

Sample - Delete Range of TicketsSample - Delete Range of Tickets

API Request

https://<qualys_base_url>/msp/ticket_delete.php?since_ticket_number=1000&until_ticket_number=2500

Sample - Delete Closed/Fixed Tickets Owned by James Adrian (comp_ja)Sample - Delete Closed/Fixed Tickets Owned by James Adrian (comp_ja)

API Request

https://<qualys_base_url>/msp/ticket_delete.php? states=CLOSED&ticket_assignee=comp_ja

Sample - Delete Tickets on Vulnerabilities With an Assigned Severity Level of 1 and Potential Vulnerabilities With an Assigned Severity Level of 1-3Sample - Delete Tickets on Vulnerabilities With an Assigned Severity Level of 1 and Potential Vulnerabilities With an Assigned Severity Level of 1-3

API Request

https://<qualys_base_url>/msp/ticket_delete.php? vuln_severities=1&potential_vuln_severities=1,2,3

Sample - Delete Overdue Tickets for User not Modified Since DateSample - Delete Overdue Tickets for User not Modified Since Date

API Request

https://<qualys_base_url>/msp/ticket_delete.php?unmodified_since_datetime=2018-07-04T12:00:00Z&overdue=1&ticket_assignee=qualys_user

DTD

<platform API server>/ticket_delete_output.dtd