Unable to get the Change Roles list with Deluge

Unable to get the Change Roles list with Deluge

Hi I'm unable to get the list of Roles with deluge.
I can easily do it in Powershell but I would preffer Deluge.

this is the code I'm trying:
  1. changeID = "888"
  2. url = "https://customdomain.com/api/v3/changes/" +changeID ;
  3. headers = {"authtoken":"xxxxxxxxxxxxxxxxxxxxxx"};
  4. getChangeRoles = invokeurl
  5. [
  6. url: url
  7. type: GET
  8. headers: headers
  9. ];
  10. roles_data = getChangeRoles.get("change").get("roles")
  11. info roles_data;
  12. return null;

                  New to ADSelfService Plus?