POST
/
signout
curl --request POST \
  --url https://local.auth.local.nhost.run/v1/signout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "all": false,
  "refreshToken": "2c35b6f3-c4b9-48e3-978a-d4d0f1d42e24"
}'
"OK"

Authorizations

Authorization
string
header
required

JSON Web Token to authorize requests.

Body

application/json
refreshToken
string
required

Refresh token during authentication or when refreshing the JWT

all
boolean
default:
false

Sign out from all connected devices

Response

200
application/json
Successfully signed out

The response is of type string.