Overview
This article provides instructions for unassigning tags from servers in bulk using the JetPatch Python client script. The process involves creating a CSV file with server information and executing a Python 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 JetPatch server
- 3. Create a CSV file (use the example below) and remove the example row once the CSV is completed.
/opt/intigua-python-client/intigua_untagservers.example.csv - 4. Create an API key.
- Refer to Granting API Permission URL for more details.
Run Script:
Execute the command from JetPatch Server (make sure you are under dir /opt/intigua-python-client/):
intigua_untagservers.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.