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. The access token itself is not revoked: it stays valid until it expires, and a request that sends it is signed in again. Delete the token from your app when the member signs out.

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"
}