---
title: "Revoke all authentication sessions for current user (logout everywhere)."
method: DELETE
path: "/api/v1/user/me/sessions"
---

# Revoke all authentication sessions for current user (logout everywhere).

`DELETE /api/v1/user/me/sessions`

**Authentication**: JWT token required
**Access**: Revokes all sessions for current authenticated user
**Purpose**: Complete logout from all devices and applications

**Request**: No request body required

**Success Response Schema**:
```json
{
  "message": "Successfully revoked 3 sessions"
}
```

**Revocation Process**:
- Identifies all active sessions for current user
- Invalidates all session tokens immediately
- Removes all sessions from active sessions list
- Logs bulk revocation event for security audit
- Includes current session (user will need to re-authenticate)

**Use Cases**:
- Emergency security response (suspected account compromise)
- Complete logout when changing passwords
- Privacy protection when using shared/public computers
- Account cleanup and security hygiene

**Security Features**:
- Immediate invalidation of all tokens
- Forces re-authentication on all devices
- Comprehensive security reset
- Audit logging with session count

**Post-Revocation Effect**:
- User is logged out from all devices/applications
- All API requests with old tokens will fail
- Fresh login required on all devices
- New sessions will have new tokens and IDs

**Important Notes**:
- This action affects the current session making the request
- User will need to re-authenticate immediately after this call
- All mobile apps and browser sessions will require re-login
- Consider using this for security incidents or password changes

**Error Responses**:
- `401 Unauthorized`: JWT token required
- `500 Internal Server Error`: Failed to revoke sessions

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
