POST

/api/logout

Invalidate the current session and clear session cookies.

Request Parameters

Parameter Location Required
payload body (JSON) Yes

Example Request

cURL
curl -X POST https://aegis.purdyandfigg.dev/api/logout \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'