The directory in Atlassian is available to multiple Atlassian products like Jira, Confluence, etc.
I am trying to create an account in the directory using the POST API . The user created can be accessed by both Jira and Confluence. However, I want to create users only for Confluence and not for Jira.
Similarly when I am using the DELETE API to remove/deactivate a user from the directory, it is removing the user even if the user has access to other Atlassian products(like Jira, Confluence, etc.). I want to delete a user only for Confluence but the user should be able to access Jira.
Are there any other APIs for user creation/deletion that is Atlassian product specific? I need to create and delete users only from Confluence irrespective of other atlassian product accesses. Please help.