---
descriptions:
  logout:
    session_id: >-
      The ID of the session that is ending. This can be extracted from the `sid`
      claim of the access token.
    url: The user's browser should be redirected to this URL to sign them out.
    return_to: >
      The location the user's browser should be redirected to by the WorkOS API
      after

      the session has been ended. Allowed values are configured in the WorkOS
      Dashboard under

      [_Sign-out
      redirects_](/authkit/sessions/configuring-sessions/sign-out-redirect).


      If no value is given the default Sign-out redirect will be used instead.
originalPath: .tmp-workos-clone/packages/docs/content/reference/authkit/logout/index.mdx
---

# Logout

End a user's session. The user's browser should be redirected to this URL.
