v1
latestOpenAPI 3.0.12026-07-17310206.9 KBAdds a role to a user in a Discord guild.
This function assigns a specific role to a user within a Discord guild. It takes the guild ID, user ID, and role ID as required parameters, with an optional reason for audit log purposes. The function returns a Promise that resolves when the role is successfully added to the user.
post/addRoleToUser
Request body
Response
Role successfully added to the user