VideohatiDocs
API referenceAuthentication

Log out

Log out

POST/v1/auth/logout

This operation supports dashboard session-cookie authentication. Call it only from trusted server code; browsers must not manufacture or expose the session cookie.

Destroys the server-side session and expires the cookie. Rate limit: 60 requests per 60 s per session.

Error codes: unauthorized (401).

Authentication

  • sessionCookie — Dashboard session cookie set by POST /v1/auth/login. Video and playback endpoints additionally require the projectId query parameter under cookie auth.

Parameters

This operation takes no parameters.

Request body

This operation takes no request body.

Responses

StatusMeaning
204Session destroyed; cookie expired.
401No valid credential was presented.
429Rate limit exceeded.