---
title: "List Logout Detectors"
method: GET
path: "/targets/{target_id}/logout/"
tags: ["Targets"]
---

# List Logout Detectors

`GET /targets/{target_id}/logout/`

## Path parameters

- `target_id` string, required

## Query parameters

- `length` integer
- `ordering` string
- `page` integer
- `search` string

## Response `200`

- PaginatedLogoutDetectorList
  - `count` integer — Total number of results.
  - `page_total` integer — Total number of pages.
  - `page` integer — Number of the current page. The first page is 1. Defaults to 1 if no specific page is requested.
  - `length` integer — Number of results returned per page.
  - `results` LogoutDetector[]
    - `id` string, required — A unique Base58 value identifying this object.
    - `type` 'text' | 'url' | 'sel' | 'status_code' | 'body_contains' | 'header' — Type of element for the logout detection: * `text` - A string of text that exists after a logout. * `url` - A redirect to a URL that occurs after a logout. * `sel` - A CSS selector that exists after a logout. * `status_code` - An HTTP status code returned after a logout. * `body_contains` - A string of text that exists in the body after a logout. * `header` - A specific header returned after a logout.
    - `value` string, required — The value of the element for the logout detection. The maximum length is 2048 characters.

## Other responses

- `400`
- `401`
- `404`
- `500`

---

[API](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation.md) · [All operations](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/probely/snyk-api-web-s-api-reference-documentation/versions/e29879bff01b/schema)
