# 토큰 순환

## 개요

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

콘솔의 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: 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.
