.. _visibility_packet_capture_delete_packet_capture_file:

visibility packet-capture delete-packet-capture-file
====================================================

Delete the Packet capture pcapng file


delete-packet-capture-file Specification
----------------------------------------

	===================================== =============================================================================================
	 **Parameter**                         **Value** 

	===================================== =============================================================================================
	 **Type**                              *operational*

	 **Element Name**                      delete-packet-capture-file

	 **Element URI**                       /axapi/v3/visibility/packet-capture/delete-packet-capture-file

	 **Element Attributes**                delete-packet-capture-file_attributes

	 **Partition Visibility**              shared

	 **Schema**                             :download:`delete-packet-capture-file schema <visibility-packet-capture-delete-packet-capture-file/visibility-packet-capture-delete-packet-capture-file.txt>`
	===================================== =============================================================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


EXECUTE Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/visibility/packet-capture/delete-packet-capture-file



.. raw:: html

   </td><td valign = 'top'>


:ref:`3609_delete-packet-capture-file_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _3609_delete-packet-capture-file_attributes:

delete-packet-capture-file attributes
-------------------------------------

    **all**

        **Description** Delete all files in this partition

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **file-name**

        **Description** Specify the name of the packet capture file to be deleted

        **Type:** string

        **Maximum Length:** 128 characters

        **Maximum Length:** 1 characters