API-07 — Logout with Valid Token

Authentication
Backend API
API-07 — Logout with Valid Token
Published

2026-06-17

API-07 — Logout with Valid Token

Target

Backend API — Authentication

Preconditions

  • A valid authentication token exists from a prior login

Steps

  1. Send POST https://project6.dxtserver.com/drivelink_new/public/api/v1/logout with the auth token in the Authorization header
  2. Observe the response

Expected Result

  • HTTP 200 is returned
  • The token is invalidated
  • Subsequent requests using the same token are rejected with 401