Skip to main content
Version: SDK-5.11.4

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
message : Success

Error cases

When a vice guild master attempts to expel another vice guild master
statusCode : 403
errorCode : ForbiddenException
message : Forbidden expelViceMaster, Forbidden expelViceMaster

When a user without the privilege attempts to expel another user
statusCode : 403
errorCode : ForbiddenException
message : Forbidden expelMaster, Forbidden expelMaster

When the gamerIndate does not exist
statusCode : 404
errorCode : NotFoundException
message : requestedGamer not found, requestedGamer cannot be found