Rest API api mentioned in jira server documentation not working

In jira server 8.22.1 they have mentioned below API to get user info but it is not working -

API mentioned in earlier jira version working fine.

<instance_name>/rest/api/2/myself

Can anyone help me why API mentioned in latest document not working.

1 Like

@dmorrow - any help on this appreciated to get our understanding clear.