I found a solution! Is not through the REST API but with environment variables! (Even better) Doc: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v601/attributes-data-source-definitions Short answer: configure one data source with environment variables, and then set those variables on the server, role or user. Luciano.