Search code examples
pythonjenkinsjenkins-pluginsjenkins-cli

Jenkins get user access Matrix


I need to get users access matrix for Jenkins users using Python. What is endpoint for REST API ?


Solution

  • User matrix can be get by using {jenkins_url}/computer/(master)/config.xml request. After that you can parse it and create list of users with permissions.