v1

latestOpenAPI 3.0.32026-07-134103031.5 MB
Targets

Create Logout Detector

post/targets/{target_id}/logout/

Path parameters

target_idstring required

Identifier of the target.

Request body

idstring 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.
valuestring required

The value of the element for the logout detection.
The maximum length is 2048 characters.

Response

idstring 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.
valuestring required

The value of the element for the logout detection.
The maximum length is 2048 characters.