---
title: Agent Logout URL Regular Expression (deprecated)
description: "d: 2023.9"
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.forgerock.agents.agent.logout.url.regex
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.forgerock.agents.agent.logout.url.regex.html
---

# Agent Logout URL Regular Expression (deprecated)

d: 2023.9

A Perl-compatible or ECMAScript-compatible (IIS) regular expression that resolves to one or more application logout URLs.

This property is deprecated; use [Agent Logout URL Regular Expression (deprecated)](com.forgerock.agents.agent.logout.url.regex.html) instead.

If this property is used, it is evaluated before [Enable Regex for Logout URL List](org.forgerock.agents.config.logout.regex.enable.html).

You can find more details about the logout flow and properties to manage logout in [Trigger logout with a URL](../user-guide/logout.html##trigger_logout_with_a_url) in the *User Guide*.

Example: `com.forgerock.agents.agent.logout.url.regex=https:\/\/example.domain.com:443\/(protectedA|protectedB)\?(.\&)*op=logout(\&.)*$`

Default: Empty

|                    |                                                                                         |
| ------------------ | --------------------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.agent.logout.url.regex`   Introduced in Web Agent 4.x             |
| Function           | Logout redirect                                                                         |
| Type               | String                                                                                  |
| Bootstrap property | No                                                                                      |
| Required property  | No                                                                                      |
| Restart required   | No                                                                                      |
| AM console         | Tab: `AM Services (From AM 7)`Title: `Agent Logout URL Regular Expression (deprecated)` |
