/
/Ghost API
ChangesDocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 19m ago · Updated 3w ago
  • getHealth check
  • getGet authentication info
  • getList spaces
  • postCreate a space
  • getList API keys
  • postCreate an API key
  • deleteDelete an API key
  • getList databases
  • postCreate a database
  • getGet a database
  • deleteDelete a database
  • postFork a database
  • postUpdate database password
  • postPause a database
  • postResume a database
  • postRename a database
  • getGet space status
  • getList invoices
  • getGet invoice detail
  • getGet database logs
  • postShare a database
  • getList database shares
  • deleteRevoke a database share
  • getList payment methods
  • postCreate payment method setup
  • getGet a payment method
  • deleteDelete a payment method
  • putSet primary payment method
  • deleteCancel pending payment method deletion
  • postIdentify user
  • postTrack event
  • postLog out
  • postSubmit feedback

Log out

Logs the user out by revoking the given refresh token. Requires user authentication (JWT). API keys and project access tokens cannot be used with this endpoint.

post/auth/logout

Request body

refreshTokenstring required

Response

Logged out successfully

Changes