Skip to main content
Version: 5.11.6

ExpelMemberV3

public BackendReturnObject ExpelMemberV3(string gamerIndate);

Parameter

ValueTypeDescription
gamerIndatestringindate of gamer to be expelled from guild

Description

The guild master can expel all members, and the vice guild master can expel all members except the guild master and vice guild master.

Example

Synchronous

Backend.Guild.ExpelMemberV3("gamerIndate");

Asynchronous

Backend.Guild.ExpelMemberV3("gamerIndate", (callback) => 
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Guild.ExpelMemberV3, "gamerIndate", (callback) => 
{
// Post-process
});

Return cases

Success cases

When expelled successfully
statusCode : 204

Error cases

When a vice guild master attempts to expel another vice guild master
statusCode : 403
errorCode : ForbiddenException

When a user without the privilege attempts to expel another user
statusCode : 403
errorCode : ForbiddenException

When the gamerIndate does not exist
statusCode : 404
errorCode : NotFoundException