RemoveViceGuildMaster
public BackndReturnObject RemoveViceGuildMaster(string gamerIndate);
Parameter
Value | Type | Description |
---|---|---|
gamerIndate | string | indate of gamer to be removed from the vice guild master role |
Description
The guild master removes the vice guild master role from the member with the corresponding gamerIndate.
Example
Synchronous
Backnd.Guild.RemoveViceGuildMaster("gamerIndate");
Asynchronous
Backnd.Guild.RemoveViceGuildMaster("gamerIndate", (callback) =>
{
// Post-process
});
Return cases
Success cases
When the removal is successful
statusCode : 204
Error cases
When a guild member who is not the master makes an attempt
statusCode : 403
errorCode : ForbiddenException
When the user is not in the guild
statusCode : 404
errorCode : NotFoundException
When the user is not a viceMaster
statusCode : 404
errorCode : NotFoundException