Memos unofficial
POST/api/v1/auth/signout

Sign out the authenticated user

Terminates the authenticated user's session by revoking the refresh token and clearing the authentication cookie. Call this operation when the user signs out so the refresh token can no longer be used to obtain access tokens.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 status codes
200Confirms that sign-out completed, the refresh token was revoked, and the authentication cookie was cleared.
defaultReturns a standard error object containing an error code, developer-facing message, and optional details.
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.