Activate users using Groovy REST ENDPOINT

i am trying to activate a user using Scriptrunner API endpoint method but i am getting an error . The below code is just for the test using GET method . please help . the eerror i am getting is in the bold . I am trying this in both jira 6 and jira 7.