## Revoke Access `viewer.users.revoke_access(UserRevokeAccessParams**kwargs) -> UserRevokeAccessResponse` **post** `/v1/viewer/users/revoke-access` Deactivates a user's access to the system. The user will no longer be able to log in or access resources. User data is preserved and can be reactivated later. ### Parameters - `user_id: str` User ID to revoke access for. Format: usr_{32-hex-chars} ### Returns - `class UserRevokeAccessResponse: …` Response for revoking user access in Viewer - `success: bool` - `message: Optional[str]` ### Example ```python import os from avara import Avara client = Avara( api_key=os.environ.get("AVARA_API_KEY"), # This is the default and can be omitted ) response = client.viewer.users.revoke_access( user_id="usr_1234567890abcdef1234567890abcdef", ) print(response.success) ```