Skip to main content

Get All Roles

GET 

/users/v1/role

Get all current roles. Including their custom_data and login_loot_rewards.

Required Permissions:

  • For any player (including themselves) : role:read

Responses

Successful Response

Schema

  • Array [

  • role_id Role Id (string)required

    Unique Role ID

    legacy_role_id Legacy Role Id (integer)

    Default value: 0

    Legacy role ID

    custom_data object

    Default value: [object Object]

    Custom data for the role

    auth_bypass RoleAuthBypass (string)

    Possible values: [none, limited, locked]

    Role auth bypass options

    login_loot_rewards

    object[]

    List of loot ids that are fulfilled for the player when they begin a new inventory session

  • Array [

  • loot_id Loot Id (string)

    Loot ID

    legacy_loot_id Legacy Loot Id (integer)required

    Legacy Loot ID

  • ]

  • ]

Loading...