A new user will be added to both Jira and Confluence using Jira API and working perfectly. I would like to add a user with specific access only to Jira or Confluence using Jira API and I think to do this is by removing a user to a group using either Jira or Confluence API.
Upon testing, when I remove a user to a group for example to Jira or Confluence only, It removes the user to both Jira and Confluence and the user has been deleted to users. Does the API command not properly working upon removing the user to a group? can anyone help me with this?