cURL
curl --request POST \ --url http://localhost:8091/api/servers/{serverID}/leave \ --header 'Authorization: Bearer <token>'
{ "error": "<string>" }
Removes the authenticated user from the server. Owners cannot leave their own server.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
Left the server