orbis.logout()

The logout function will disconnect the user from Ceramic and your app and delete the ceramic-session from the user's local storage.

How to use?

let res = await orbis.logout();

Returns

{
	status: 200,
	result: "Logged out from Orbis and Ceramic."
}

Next steps

Explore other parts of the API.

orbis.isConnected()

orbis.createPost()