Classic APIs
ClassicGroupsApi
groupRolesFromIds

groupRolesFromIds

Gets a list of roles from role ids.

Parameters

NameTypeDescription
roleIdsArrayNonEmptyIfConstThe ids of roles to get.

Example

const { data: roles } = await ClassicGroupsApi.groupRolesFromIds({ roleIds: [38353811] }); 

Example Data

{
  "38353811": {
    groupId: 5850082,
    name: "NamelessGuy2005 - Scriptor",
    rank: 255,
  },
} 

Endpoint

GET /v1/roles