Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Sign out user

Logout user

POST/{apiBasePath}/signout
Authorization
AuthorizationBearer token · headerrequired
Returned as the "st-access-token" header from sign-in and refresh endpoints and present on requests that update the access token payload
or
sAccessTokenAPI key · cookierequired
This is an HTTPOnly cookie, set by sign-in and refresh endpoints and present on requests that update the access token
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
Header parameters
ridstring
The recipe ID for the request
anti-csrftoken
This will only be here if enabled by the user.
Request body
application/json
object
Responses
200Logout user
One of:
object
statusstatusOK
Success status indicator
Allowed:OK
generalErrorResponse
statusstring
Error status code
Allowed:GENERAL_ERROR
messagestring
Error message
404Resource not found error
string
500Internal server error
string
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST "/auth/signout" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Response
{
  "status": "OK"
}

API reference

API schema and response details