> 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 Playground의 예시

Panther Console의 API Playground에서 수행하면, `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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
