Auth
로그아웃
제출한 Refresh Token 의 세션(family)을 폐기한다. 인증된 사용자만 호출할 수 있고, 토큰 소유자가 인증 사용자와 다르면 401. 이미 폐기된 세션이어도 200 을 반환한다.
post/api/v1/auth/logout
Request
- Base URL: https://api.chaeso-zip.com
- URL: https://api.chaeso-zip.com/api/v1/auth/logout
- Auth: HTTP bearer
Request body
Example request
{
"refreshToken": "eyJhbGciOiJIUzI1NiJ9..."
}Response
로그아웃 성공
Example response
{
"success": true,
"error": {
"code": "C-001",
"message": "입력값이 올바르지 않습니다.",
"fieldErrors": [
{
"field": "name",
"reason": "이름은 필수입니다."
}
]
},
"code": "GOOGLE_ACCOUNT_LINKED"
}Changes
No recorded changes to this operation across all 1 revision of this API.