I want to delete a user using a CURL Request or REST API from a particular Jenkin project through a program. I don't want to delete the user from the whole Jenkin just from a particular project.
There is an answer about how to delete the user from the whole Jenkin : How to create and delete a user from Jenkins through REST API?. But I want to delete/remove user only from a project.
For example: I want to delete user testUser2 from TestProject. (refer above picture)