API-07 — Logout with Valid Token
Authentication
Backend API
API-07 — Logout with Valid Token
API-07 — Logout with Valid Token
Target
Backend API — Authentication
Preconditions
- A valid authentication token exists from a prior login
Steps
- Send POST https://project6.dxtserver.com/drivelink_new/public/api/v1/logout with the auth token in the Authorization header
- Observe the response
Expected Result
- HTTP 200 is returned
- The token is invalidated
- Subsequent requests using the same token are rejected with 401