Skip to main content
POST
/
session
/
sign-out
curl --request POST \
--url https://{deploymentHost}/session/sign-out \
--header 'Content-Type: application/json' \
--data '{
"all_sessions": false
}'
{
"status": 200,
"message": "",
"data": {
"message": "Successfully signed out"
},
"session": {
"signin_attempts": [],
"signins": [],
"signup_attempts": [],
"active_signin": null
},
"errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Body

application/json
all_sessions
boolean

Whether to sign out from all sessions (default: false)

Response

Sign out completed successfully

status
integer
required

HTTP status code

message
string
required

Response message (empty for success)

data
any
required

Response data (can be any type)

session
object
required
errors
object[]
required

Array of error objects (empty for success)