title: Remove Guild Member Role category: Guild
removeGuildMemberRole
$client->guild->removeGuildMemberRole($parameters);
Removes a role from a guild member. Requires the 'MANAGE_ROLES' permission. Fires a Guild Member Update Gateway event.
Name | Type | Required | Default |
---|---|---|---|
guild.id | snowflake | true | null |
user.id | snowflake | true | null |
role.id | string | true | null |
Returns a 204 empty response on success.