Discord User icon

Discord User

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

Role → Remove Role

AI-generated

Summary

Removes a role from a member in a Discord server.

Inputs

  • serverId (required) — The ID of the Discord server (guild).
  • roleId (required) — The ID of the role to remove.
  • memberId (required) — The ID of the member from which to remove the role.

Output shape

object

On success, returns an object with success=true, the memberId, and the roleId. If the operation fails and continueOnFail is enabled, returns an error object instead.

Discussion