> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Log Out of Aria Compute ROUTER Session

> POST /v1/router/auth/logout clears the session cookie and ends the current Aria Compute ROUTER authenticated session.

End your Aria Compute ROUTER session by calling the logout endpoint. This clears the session cookie on the server side and invalidates the current authentication context.

## Endpoint

```http theme={null}
POST /v1/router/auth/logout
```

## Authentication

Send the session cookie obtained from login, or include `Authorization: Bearer <api-key>`.

## Response

A successful logout returns `200 OK` with no response body.

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://router.example.com:8080/v1/router/auth/logout \
    -b cookies.txt
  ```
</RequestExample>

<ResponseExample>
  ```text 200 theme={null}
  (No response body)
  ```
</ResponseExample>

End your Aria Compute ROUTER session by calling the logout endpoint. This clears the session cookie on the server side and invalidates the current authentication context.

## Endpoint

```http theme={null}
POST /v1/router/auth/logout
```

## Authentication

Send the session cookie obtained from login, or include `Authorization: Bearer <api-key>`.

## Response

A successful logout returns `200 OK` with no response body.

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://router.example.com:8080/v1/router/auth/logout \
    -b cookies.txt
  ```
</RequestExample>

<ResponseExample>
  ```text 200 theme={null}
  (No response body)
  ```
</ResponseExample>


## Related topics

- [Log In to Aria Compute ROUTER Session](/api-reference/router/auth/login.md)
- [Authenticate with Aria Compute ROUTER](/api-reference/router/authentication.md)
- [Aria Compute ROUTER: OpenAI-compatible inference gateway](/api-reference/router/introduction.md)
- [Router Cost Aggregation API](/api-reference/router/cost.md)
- [List Replayable Router Requests API](/api-reference/router/replay/list.md)
