Skip to main content
POST
Employee logout

POST /employee/logout

Invalidate the employee session identified by X-Employee-Token. Send Authorization: Bearer YOUR_API_KEY and X-Device-ID: YOUR_DEVICE_ID. Also send X-Employee-Token: YOUR_EMPLOYEE_TOKEN. See authentication. After logout, that token is rejected on subsequent employee-protected requests.

Example request

Example response

Authorizations

Authorization
string
header
required

Location API key. Also requires X-Device-ID.

X-Employee-Token
string
header
required

Employee session token from /employee/login.

Headers

X-Device-ID
string
required

Stable device identifier. API key binds to this value on first use.

Response

Success

message
string