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

Authorizations

Authorization
string
headerrequired

JSON Web Token to authorize requests.

Body

application/json
all
boolean
default: false

Sign out from all connected devices

refreshToken
string
required

Refresh token during authentication or when refreshing the JWT

Response

200 - application/json

The response is of type string.