# 로그아웃

## /api/logout

<mark style="color:green;">`POST`</mark> `http://localhost:8080/api/logout`

This endpoint allows you to get free cakes.

#### Headers

| Name           | Type   | Description   |
| -------------- | ------ | ------------- |
| Authentication | string | access\_token |

{% tabs %}
{% tab title="200 요청에 사용한 access\_token 이 만료되고 200 응답과 로그아웃 성공 메세지를 반환합니다." %}

```
{
    "message" : "Logout Success"
}
```

{% endtab %}

{% tab title="401 access\_token 에 오류가 발생하면 401 응답을 반환합니다." %}

```
-
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ksyj8256.gitbook.io/login-base-token-api/undefined-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
