Skip to content

Logout

watch.auth.session.logout

The logout API ends a session on the Indee platform. This API call will expire both the access and refresh tokens.

Headers

The authorization header must carry the API key that was provided during application registration.

Header Value
Authorization Bearer api_key

Endpoint

    POST /v2/watch/auth/logout

Request Body

Send your JWT token in the JSON body.

    {
        "token": "<your JWT token>"
    }
Parameter Type Description
token String The JWT token provided by Indee.

Response Body

    {
        "status_code": "W0000"
    }
Field Type Description
status_code Integer The Indee API status code. See the full list of codes in the Status Codes section.