Skip to content

Sign out

DELETE
/auth/logout
curl --request DELETE \
--url https://acme.mykreezalid.com/front_api/v1/auth/logout \
--header 'Authorization: Bearer <token>'

Ends the member’s server-side session and revokes every access token of the member issued until now, on all their devices. Delete the token from your app as well.

The session has ended.

Media typeapplication/json
object
code
integer
status
string
message
string

Example

{
"code": 200,
"status": "success",
"message": "You have been logged out"
}

No valid access token was sent.

Media typeapplication/json

Error body returned by the Front API when it refuses a request.

object
code

HTTP status code, repeated in the body.

integer
status
string
message

Human-readable reason.

string

Example

{
"code": 403,
"status": "error",
"message": "Token not found in request"
}