I need to add/delete Jenkins node label from python script. I tried to do it using REST request but failed with it. This is the command but not works:
curl -k -X POST --user [user]@[password] "https://jenkins-automation.itero.net/computer/JL_private/configure?Labels=lb"
Please help me to fix the command or suggest other idea of how to change label from python script.