members

Get Member Roles

List the roles a member currently holds.

Roles come back in Discord's own order, highest first, and include roles owned by integrations such as the booster role.

A user who is not in the server answers 404, which is how you tell an outsider apart from a member who simply has no roles.

Requires an API key with the discord.view_members permission.

get/v1/members/{user_id}/roles/

Path parameters

user_idinteger required

Response

Successful Response

user_idstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.