WithdrawGuildV3
public BackendReturnObject WithdrawGuildV3();
Description
Leaves the currently joined guild.
The guild master can withdraw from a guild when there is no guild member.
Example
Synchronous
Backend.Guild.WithdrawGuildV3();
Asynchronous
Backend.Guild.WithdrawGuildV3((callback) =>
{
// Post-process
});
SendQueue
SendQueue.Enqueue(Backend.Guild.WithdrawGuildV3, (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