Glowb Dev Docs
Main API토큰 API

GET /auth/check-authority

권한 확인

권한 확인

현재 인증된 사용자의 권한을 확인합니다.

항목
메서드GET
경로/auth/check-authority
인증필요

요청

GET /auth/check-authority HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
curl "https://api.glowb.com/auth/check-authority" \
  -H "Authorization: Bearer {access_token}"
const response = await fetch('/auth/check-authority', {
  headers: {
    'Authorization': `Bearer ${accessToken}`
  }
});
const result = await response.text();

응답

성공 응답 (200 OK)

Authorities checked in logs!

권한 정보는 서버 로그에 출력됩니다.

API 테스트

On this page