Is there an API to remove a user from the Enterprise?

Hi,
I was looking through the API documentation, and I do see there are APIs to remove a user from an organization. But is there a way we can remove a user from the enterprise altogether? The API call should remove the user from all of the organizations within the enterprise he previously had access to, and also from the enterprise.

At the moment, I am able to remove the user from all organizations, but the user still is a part of the enterprise. When querying using GraphQL’s query enterprise>ownerInfo>samlIdentityProvider>externalIdentities, I still find the user listed in the response. Can the user be removed from the enterprise such that this query does not list the user anymore?