Discord User icon

Discord User

Complete Discord automation - Messages, Servers, Roles, Members, DMs

Role → Remove Role

AI-generated

Summary

Remove a role from a member in a Discord server.

Inputs

  • serverId (required) — The ID of the Discord server (guild) where the member and role exist.
  • roleId (required) — The ID of the role to remove from the member.
  • memberId (required) — The ID of the member from whom the role will be removed.

Output shape

object

Returns an object for each input item indicating the result of the removal operation.

Examples

Example 1: Removing a role from a member

Provide Server ID, Role ID, and Member ID; the node will attempt to remove the specified role from the member and return success status.

Links

Discussion