The API provided in Atlassian documentation will revoke access from a user to all the products under their hood .
For example: An user named Sarav uses Atlassian products jira,confluence,bitbucket. When the admin wants to revoke access to only confluence, the API provided revokes access to remaining other products aswell.