WithdrawGuild
public BackndReturnObject WithdrawGuild();
Description
Leaves the currently joined guild.
The guild master can withdraw from a guild when there is no guild member.
Example
Synchronous
Backnd.Guild.WithdrawGuild();
Asynchronous
Backnd.Guild.WithdrawGuild((callback) =>
{
// Post-process
});
Return cases
Success cases
When the withdrawal is successful
statusCode : 204
Error cases
When the user is the guild master but there is still a member in the guild
statusCode : 412
errorCode : PreconditionFailed
When a user who does not belong to a guild tries to leave the guild
statusCode : 412
errorCode : PreconditionFailed