v2

latestOpenAPI 3.0.0AGPLv32026-07-26125148364.7 KB
Server Permissions

Fetch Role

Fetch a role by its id.

get/servers/{target}/roles/{role_id}

Path parameters

targetstring required
role_idstring required

Response

_idstring required

Unique Id

namestring required

Role name

colourstring nullable

Colour used for this role

This can be any valid CSS colour

hoistboolean

Whether this role should be shown separately on the member sidebar

rankinteger

Ranking of this role