Skip to main content

Log out

POST 

/auth/logout

Required role: viewer. An account or token with the viewer or admin role can call this operation.

Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/auth/logout"

Revokes the current session server-side and clears the cookie.

Responses​

Signed out.

Response Headers
    Set-Cookie