I have gone through the User Management API ,specifically the disable user API mentioned here:
https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-users/#api-users-account-id-manage-lifecycle-disable-post
but this disables the user revoking its access from all the products.
Is there an API at org level…where user access can be revoked for a particular product only?