Skip to main content

Update Logout Detector

PUT 

/targets/:target_id/logout/:id/

Request

Path Parameters

    id stringrequired
    target_id stringrequired

    Identifier of the target.

Body

required
    type stringrequired

    Possible values: [text, url, sel]

    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.
    value stringrequired

    Possible values: <= 2048 characters

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

Responses

Schema
    id stringrequired

    A unique Base58 value identifying this object.

    type stringrequired

    Possible values: [text, url, sel]

    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.
    value stringrequired

    Possible values: <= 2048 characters

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

Loading...