Remove all hardware from a portal user’s hardware access list.
Remove all hardware from a portal user’s hardware access list. A user’s hardware access list controls which of an account’s hardware objects a user has access to in the SoftLayer customer portal and API. If the current user does not have administrative privileges over this user, an inadequate permissions exception will get thrown.
Users can call this function on child users, but not to themselves. An account’s master has access to all users permissions on their account.
Throws the exception “Unable to remove user hardware access.” if the API was unable to remove hardware access from the given portal user.
Throws the exception “Inadequate permissions.” if the active user permissions do allow for access to the userId in question.