session

End the current user session by invalidating refresh tokens. Optionally sign out from all devices.

post/signout

Request

  • Base URL
    https://{subdomain}.auth.{region}.nhost.run/v1
  • URL
    https://{subdomain}.auth.{region}.nhost.run/v1/signout
  • Auth
    • HTTP bearer
    • or none

Request body

refreshTokenstring

Refresh token for the current session

allboolean

Sign out from all connected devices

Response

Successfully signed out

'OK' required

Changes

    • warning

      added the new otp-too-many-attempts enum value to the response property for the response status

    • warning

      added the new user-already-exists enum value to the response property for the response status

    • info

      removed the email-already-in-use enum value from the response property for the response status