code: def test_delete_user_errors(
      owner: "ServerUser", annotator: "ServerUser"
  ) -> None:
      httpx_client = ArgillaSingleton.init(
          api_key=annotator.api_key
      ).http_client.httpx
      with pytest.raises(ForbiddenApiError):
          delete_user(client=httpx_client, user_id=owner.id)
  
      httpx_client = ArgillaSingleton.init(
          api_key=owner.api_key
      ).http_client.httpx
      with pytest.raises(NotFoundApiError):
          delete_user(client=httpx_client, user_id=str(uuid4()))
  
      delete_user(client=httpx_client, user_id=annotator.id)
      with pytest.raises(NotFoundApiError):
          delete_user(client=httpx_client, user_id=annotator.id)
  
      delete_user(client=httpx_client, user_id=owner.id)
      with pytest.raises(UnauthorizedApiError):
          delete_user(client=httpx_client, user_id=owner.id)
  
file_path: argilla/tests/integration/client/sdk/api/test_users.py
imports: from typing import TYPE_CHECKING
  from uuid import uuid4
  import pytest
  from argilla.client.client import Argilla
  from argilla.client.sdk.client import AuthenticatedClient
  from argilla.client.sdk.commons.errors import AlreadyExistsApiError, BaseClientError, ForbiddenApiError, NotFoundApiError, UnauthorizedApiError, ValidationApiError
  from argilla.client.sdk.users.api import create_user, delete_user, list_users, whoami
  from argilla.client.sdk.users.models import UserModel
  from argilla.client.singleton import ArgillaSingleton
  from tests.factories import WorkspaceFactory
  from tests.factories import UserFactory
label_desc: Use image node_id 4 for calling a global function with example usage: test_delete_user_errors(owner, annotator) without return types