Session, optional
POST /v1/logout
Revoke the current session. The response is always ok. An API key is not revoked by this call.
Body {}. If the request carries a session, that session is deleted. The response is always {"ok": true}. An API key is left in place. Revoke a key with DELETE /v1/keys/{id}.
curl -sS -X POST "$BASE/v1/logout" \
-H 'Authorization: Bearer us_…' \
-H 'Content-Type: application/json' \
-d '{}'

UdiWatch