Table of contents

On this page we have an example python script to:

  • Delete a device with MAC address ...

In this example, we used a windows PC where we installed Python

Install dependencies

pip3 install requests
pip3 install requests-hawk


Gather data from GRAPE

Gather API key

You need to create the API key if not already available.


Copy : Access Key ID (API_KEY)


Copy : Access Key Secret (API_SECRET)

Python script

Download the following python script: delete_device.py

python delete_device.py
usage: delete_device.py [-h] --api-key API_KEY --api-secret API_SECRET --device-mac DEVICE_MAC

Example:

  • N610/N670/N870 device
  • With MAC address: 589EC60D8C73
N610/N670/N870 example
python delete_device.py --api-key xxxxxxxxxxxxxxxxxxxxxxxxxxx--api-secret  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx --device-mac 589EC60D8C73