Constructors

Methods

  • Parameters

    • context: "team" | "organisation" | "admin"

      The point of view from where the request takes place

    • contextId: number

      Either a team, organisation or admin's id

    • roleId: number | "me"

      A role id

    Returns Promise<Role>

    • A role