메인 콘텐츠로 건너뛰기

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

Use this file to discover all available pages before exploring further.

POST /auth/logout

해당 사용자의 모든 리프레시 토큰을 폐기해 세션을 종료합니다. Authorization 헤더에 유효한 액세스 토큰이 필요합니다.
액세스 토큰은 만료될 때까지(15분) 유효할 수 있습니다. 즉시 완전히 로그아웃하려면 클라이언트에서 액세스 토큰도 삭제하세요.

요청 헤더

Authorization
string
필수
Bearer 토큰입니다. 형식: Bearer YOUR_ACCESS_TOKEN

응답

success
boolean
로그아웃 성공 여부입니다.
message
string
확인 메시지입니다.
curl -X POST https://api.llmgenerator.com/api/v1/auth/logout \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "success": true,
  "message": "Logout successful. All refresh tokens have been revoked."
}