Skip to main content
POST
/
api
/
v1
/
auth
/
logout-device
Logout a specific device
curl --request POST \
  --url https://api.flowxi.app/api/v1/auth/logout-device \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "device_id": "device-uuid-123"
}
'
{
  "code": "LOGOUT_SUCCESS",
  "message": "Logged out."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string
required
Example:

"device-uuid-123"

Response

Device logged out.

code
string
required
Example:

"OK"

message
string
required
Example:

"OK"