Update Team Leaderboard
PUT /sales-coach/team/leaderboards/{lb_id}
Replace a leaderboard’s configuration.
A PUT, matching the app: the body is the board’s new state, so a KPI you omit is REMOVED from the board rather than left alone.
Authorizations
Parameters
Path Parameters
Leaderboard id.
Leaderboard id.
Header Parameters
Request Body required
A leaderboard: who is on it, what it measures, and what it is aiming at.
id is REQUIRED and client-supplied, matching the app - these are
config rows keyed by a slug the caller chooses, not server-generated
records. Sending an existing id through POST is how the app upserts.
object
The target a leaderboard is measured against.
object
Caller-chosen id. Reusing one upserts, matching the app.
Marks a board the product ships rather than one a customer made. Accepted because the app’s model has it; leave it False for your own boards.
One metric on a leaderboard, with its weight and visibility.
object
KPI id from GET /sales-coach/team/kpi-catalog.
How much this KPI counts toward the ranking.
Which team roles appear on this board.
Responses
200
Successful Response
object
An open envelope for a config, a bootstrap or a data response.
Open because the leaderboard and set DATA responses carry one key per KPI and the KPI catalogue is org-configurable: a closed model would drop a customer’s own metric, and a leaderboard missing a column reads as a rep having scored nothing.
object
422
Validation Error