Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. AuthSession tasks

AuthSession delete

API reference (XML/JSON) · Updated 2025-03-17

Function

With the AuthSessionDelete task, you delete a SessionID and thus end the working session for which you have authenticated yourself.

Description

Route: DELETE /logout

The SessionID must be specified in the header
X-Domainrobot-SessionId: b3a9489e-e40e-41e2-a3eb-01a26f2aba3b
{
}
{
    "stid": "20200722-app2-dev-19946",
    "status": {
        "code": "S1321003",
        "text": "The session token was deleted successfully.",
        "type": "SUCCESS"
    }
}