RestCord logo RestCord

removeGuildMember

$client->guild->removeGuildMember($parameters);

Description

Remove a member from a guild. Requires KICK_MEMBERS permission. Fires a Guild Member Remove Gateway event.

Parameters

Name Type Required Default
guild.id snowflake true null
user.id snowflake true null

Response

Returns a 204 empty response on success.