/
/Ghost API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 23m ago · Updated 3w ago
  • getHealth check
  • getGet pricing
  • getGet authentication info
  • postLog out
  • getList spaces
  • postCreate a space
  • postRename a space
  • getGet space usage
  • getGet space usage (deprecated)
  • getList space members
  • deleteRemove a member
  • putUpdate a member's role
  • getList sent invites
  • postInvite a user to a space
  • deleteCancel a sent invite
  • getList received invites
  • postAccept a received invite
  • postDecline a received invite
  • 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
  • postPause a database
  • postResume a database
  • postRename a database
  • postUpdate database password
  • getGet database logs
  • postShare a database
  • getList database shares
  • deleteRevoke a database share
  • getList invoices
  • getGet invoice detail
  • getList payment methods
  • postCreate payment method setup
  • getGet a payment method
  • deleteDelete a payment method
  • putSet primary payment method
  • deleteCancel pending payment method deletion
  • putUpdate compute overage settings
  • postIdentify user
  • postTrack event
  • 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

Refresh token to revoke.

Response

Logged out successfully

Changes