v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Removes a specific role from a user in a guild.

This function revokes a designated role from a user within a specified guild. It allows for optional audit log documentation by providing a reason for the role removal. The function returns a Promise that resolves upon successful role removal.

post/removeRoleFromUser

Request body

Response

Role successfully removed from the user.

successboolean

Indicates if the role was successfully removed.