Skip to content

Sign out

POST
/api/auth/sign-out
curl --request POST \
--url https://forge.example.com/api/auth/sign-out

Ends the session the cookie names and revokes the access token sent with the request. It needs no valid access token, so it always works.

Done. The answer has no body.

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}