> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User

export const GitHubLink = ({url, compact = false}) => <a href={url} target="_blank" rel="noopener noreferrer" className={compact ? "source-link" : "github-source-link"}>
    {compact ? "View source" : <>
    <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
      <path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
    </svg>
    GitHub source
      </>}
  </a>;

<GitHubLink compact url="https://github.com/wandb/wandb/blob/main/wandb/apis/public/users.py#L26" />

<h2 id="class-wandbapispublicuser">
  <Badge color="yellow" size="lg" shape="rounded">클래스</Badge> wandb.apis.public.User
</h2>

W\&B 인스턴스의 사용자입니다.

사용자의 API 키를 관리하고 팀 소속 등의 정보에
액세스할 수 있습니다. `create` 클래스 방법을 사용하여 새
사용자를 생성할 수 있습니다.

<h2 id="properties">
  속성
</h2>

<ResponseField name="api_keys" type="list[str]">
  사용자의 API 키 이름입니다.

  이 속성은 API 키의 이름을 반환합니다. 키와 연결된 시크릿이 *아닙니다*. 키의 이름은 API 키로 사용할 수 없습니다.

  사용자에게 API 키가 없거나 API 키가 로드되지 않은 경우 목록이 비어 있습니다.
</ResponseField>

<ResponseField name="teams" type="list[str]">
  사용자의 팀 이름입니다.

  사용자에게 팀 소속이 없거나 팀 데이터가 로드되지 않은 경우 빈 목록입니다.
</ResponseField>

<ResponseField name="user_api" type="Api | None">
  사용자의 자격 증명을 사용하는 `wandb.Api` 인스턴스입니다.
</ResponseField>

<h2 id="methods">
  방법
</h2>

<h3 id="method-usercreate">
  <Badge color="blue" size="lg" shape="rounded">방법</Badge> User.create()
</h3>

```python theme={"system"}
api: 'Api',
email: 'str',
admin: 'bool | None' = False
```

새 사용자를 생성합니다.

내부 방법입니다. 대신 `wandb.Api`의 `create_user()` 방법을
사용하세요.

<h5 id="arguments">
  인수
</h5>

<ResponseField name="api" type="Api">
  API 인스턴스를 사용하여 사용자를 생성합니다.
</ResponseField>

<ResponseField name="email" type="str">
  사용자의 이메일입니다.
</ResponseField>

<ResponseField name="admin" type="bool | None">
  이 사용자가 전역 인스턴스 Admin이어야 하는지 여부입니다.
</ResponseField>

<h3 id="method-userdelete_api_key">
  <Badge color="blue" size="lg" shape="rounded">방법</Badge> User.delete\_api\_key()
</h3>

```python theme={"system"}
self,
api_key: 'str'
```

사용자의 API 키를 삭제합니다.

키의 소유자 또는 Admin만 이를 삭제할 수 있습니다.

<h5 id="arguments-2">
  인수
</h5>

<ResponseField name="api_key" type="str">
  삭제할 API 키의 이름입니다. `api_keys` 속성에서 반환된 이름 중 하나를 사용하세요.
</ResponseField>

<h3 id="method-usergenerate_api_key">
  <Badge color="blue" size="lg" shape="rounded">방법</Badge> User.generate\_api\_key()
</h3>

```python theme={"system"}
self,
description: 'str | None' = None
```

새 API 키를 생성하세요.

<h5 id="arguments-3">
  인수
</h5>

<ResponseField name="description" type="str | None">
  새 API 키에 대한 설명입니다. API 키의 용도를 파악하는 데 사용할 수 있습니다.
</ResponseField>


## Related topics

- [user](/ko/products/wandb/ref/query-panel/user.md)
