For the complete documentation index, see llms.txt. This page is also available as Markdown.

토큰 회전

Panther API 토큰 회전 작업

개요

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

Console의 API Playground 또는 GraphQL-over-HTTP API를 사용하여 Panther의 API를 호출할 수 있습니다. 이러한 방법에 대해 자세히 알아보려면 Panther API.

API 토큰 회전

Panther API 토큰을 회전하려면:

  1. 토큰을 회전하려면 아래 작업을 수행하세요.

    • mutation rotateAPIToken() {
        rotateAPIToken() {
          token{ value }
        }
      }
    • 회전하려는 API 토큰을 요청 헤더에 사용하세요.

    • 응답 페이로드에 갱신된 API 토큰이 표시됩니다.

  2. 갱신된 토큰을 복사하세요. 이 토큰은 한 번만 표시됩니다.

API Playground의 예시

Panther Console의 API Playground에서 수행하면, rotateAPIToken 다음과 같습니다:

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.

마지막 업데이트

도움이 되었나요?