End the current session

POST /api/v1/auth/logout

اعرض الصفحة بصيغة Markdown

Revokes the calling session's token id, so it stops working immediately rather than at expiry.

Best-effort by design: it answers ok even if the revocation write failed, because the worst case is a token that dies at its natural expiry. Do not treat ok true as proof the token is dead.

نظرة سريعة

المصادقة
رمز موظّف أو جلسة جلسة موظّف فقط — لا يمكن لرمز API استدعاؤها

الأخطاء

الرمز متى تُرجَع
ERR_FORBIDDEN403 the caller holds an API token — this route refuses machine credentials

جرّبه على شبكتك.

50 مشترك لمدة 7 أيام، من غير ما تدفع حاجة.