---
title: AM Logout URL
description: The page to which the agent redirects the end user on log out. It can be a page in AM, such as https://am.example.com:8443/am/UI/Logout?realm=/alpha, or a page in the application.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.logout.url
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.logout.url.html
---

# AM Logout URL

The page to which the agent redirects the end user on log out. It can be a page in AM, such as `https://am.example.com:8443/am/UI/Logout?realm=/alpha`, or a page in the application.

The AM logout page invalidates the user session in AM, but pages in an application might not invalidate the user session in AM. See [Enable Invalidate Logout Session](org.forgerock.agents.config.logout.session.invalidate.html) for configuration options.

Default: `AM_URL/am/UI/Logout`

|   |                                                                                                                                                          |
| - | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | By default, a realm is not included in the logout URL, and the user is redirected to the root realm on logout. Take care to include a realm if required. |

|                    |                                                                           |
| ------------------ | ------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.logout.url`   Introduced in Web Agent 4.x |
| Function           | Logout redirect                                                           |
| Type               | String Map                                                                |
| Bootstrap property | No                                                                        |
| Required property  | No                                                                        |
| Restart required   | No                                                                        |
| AM console         | Tab: `AM Services`Title: `AM Logout URL`                                  |
