signout on the server

Suppose I am submitting a Form to the server and I want to sign out in the form handler. So I wanted to know how to properly sign out on the server. Is it enough to just call auth.api.signOut or should I mange the cookie headers too? Is there a section in documentation about server side session handling? please help.
Was this page helpful?