How to disable product access of a Provisioned user via API

I have to make user disable for one product like JSM.

I dont want to disable user at Org level or Site level for all products.

How can we achieve this by using rest API.

hey @Naveenkumar1, did you manage to find the solution?

it seems like confluence is tagged to jira-software and we are not able to split the jira-software and confluence together.

Hi @AsyrafArshad,

Yes, we can disable the users in the local group, but if the user in default provisioned group then have to raise the ticket to identity provider from the rest API to disable the user access.

Another possible way to achieve this based on the usecase, can use this API : https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-patch