ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiAuth

Logout from all devices

DELETE
/api/v1/auth/sessions/logout-all

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Logged out from all devices successfully

response?unknownapplication/json
Example Request
curl -X DELETE 'http://localhost:3001/api/v1/auth/sessions/logout-all'
Example Response
{  "status": "success",  "statusCode": 200,  "message": "Logged out from all devices successfully",  "data": {    "revoked_count": 5  },  "timestamp": "2026-01-31T10:00:00.000Z",  "path": "/api/v1/auth/sessions/logout-all"}