> For the complete documentation index, see [llms.txt](https://docs.panther.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.panther.com/ko/panther/api/graphql/token-rotation.md).

# 토큰 회전

## 개요

다음을 호출하여 Panther API 토큰을 교체할 수 있습니다 `rotateAPIToken` GraphQL API 엔드포인트.

Console의 API Playground 또는 GraphQL-over-HTTP API를 사용하여 Panther의 API를 호출할 수 있습니다. 이러한 방법에 대해 더 알아보려면 다음을 참조하세요: [Panther API](/ko/panther/api.md#step-1-choose-a-method-for-invoking-the-api).

#### API 토큰 교체

Panther API 토큰을 교체하려면:

1. 토큰을 교체하려면 아래 작업을 수행하세요.
   * ```graphql
     mutation rotateAPIToken() {
       rotateAPIToken() {
         token{ value }
       }
     }
     ```
   * 교체할 API 토큰을 요청 헤더에 사용하세요.
   * 응답 페이로드에 새로 고친 API 토큰이 표시됩니다.
2. 새로 고친 토큰을 복사하세요. 이 토큰은 한 번만 표시됩니다.

#### API 플레이그라운드의 예시

Panther Console의 API 플레이그라운드에서 수행하면, `rotateAPIToken` 다음과 같습니다:

<figure><img src="/files/b87e3184b75e986e8353ad537152e33fcf888271" alt="The API Playground page in the Console shows a rotateAPIToken call and response. There is a section at the bottom for Request Headers, and on the right a Documentation Explorer."><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.panther.com/ko/panther/api/graphql/token-rotation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
