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

Changes

Changed in 3 of the 6 revisions of this API.21

    • added the required property oneOf[subschema #2]/locale to the response with the default status

      response-required-property-added

    • added subschema #2 to the response body oneOf list for the response status default

      response-body-one-of-added

    • added subschema #65 subschema #66 subschema #67 subschema #81 subschema #82 subschema #83 subschema #84 subschema #85 subschema #86 subschema #87 subschema #88 subschema #89 subschema #90 subschema #91 subschema #92 subschema #93 subschema #94 subschema #95 to the response body oneOf list for the response status default

      response-body-one-of-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog