Actions74
- ACLs Actions
- CLI Actions
- Configuration Actions
- DHCP Relay Actions
- Firmware Actions
- Interfaces Actions
- LLDP Neighbors Actions
- Logs Actions
- Mirror Sessions Actions
- Mirror Endpoints Actions
- Packet Captures Actions
- Port Access Cached Clients Actions
- Port Access Roles Actions
- SNMP Communities Actions
- System Actions
- Users Actions
- VLANs Actions
- VRFs Actions
Packet Captures → Delete
AI-generatedSummary
Delete a packet capture on an Aruba CX switch.
Inputs
- domain (required) — Domain of the Aruba CX API; only 'System' is available.
- captureName (required) — Name of the packet capture to delete.
- captureType (required) — Type of packet capture – either 'local' or 'remote'.
- hostOverride — Optional hostname to override the credentials (useful when looping over multiple switches).
Output shape
Array
Returns the API response wrapped in an array; for a successful delete this is typically an empty array.
Examples
Example 1: Delete a local packet capture named 'capture1'.
domain: System, captureName: capture1, captureType: local