Fix wrong configuration in the REST-API