User Logout
POST https://api.studydev.kr/user/logout/
Parameter Info(headers)
| Name | Type | Description | Options |
|---|---|---|---|
| Authorization | String | 계정인증정보(토큰) | Required |
Parameter Data(headers)
| Key | Value |
|---|---|
| Authorization | Token <Token_Value> |
Success Response
Status_Code : 200 OK
{
"detail": "Successfully logged out."
}
Failed Response
Status_Code: 401 Unauthorized
{
"detail": "Invalid token"
}
header의 Token 값이 잘못 되었을 경우