Overview
This article provides instructions for deleting tags in bulk from JetPatch using a Python script.
The process requires creating a CSV file with tag information and executing a script with appropriate API credentials.
Prerequisites
- Python version 3.4 and up on the JetPatch server.
- Learn more about intigua-python-client RPM
- SSH to the JetPatch server
- Create a CSV file (use the example attached)
- Create an API key. Refer to Granting API Permission URL for more details.
Running the Script
Execute the command from JetPatch Server (make sure you are under dir /opt/intigua-python-client/):
intigua_remove_tags.py --apikey <APIKEY> --url https://<DNS>/vmanage-server/rest/rest-api --user <username> --file <filename>.csv
Comments
0 comments
Please sign in to leave a comment.