The service can modify or clear the display name of a competitor used in the scope of a leaderboard. The request requires the LEADERBOARD:UPDATE permission on the respective leaderboard.
Webservice Type: | REST |
Output format: | None |
Mandatory parameters: | competitorId: the ID of the competitor whose display name to update for the respective leaderboard |
Optional parameters: | displayName: If provided, the display name is set to the value specified. Otherwise, the display name for the competitor is cleared in the scope of the selected leaderboard, so the original competitor name will be used to display the competitor. |
Request method: | POST |
Example: |
curl -i -X POST "http://admin:admin@127.0.0.1:8888/sailingserver/api/v1/leaderboards/1.%20Segel-Bundesliga%202020%20-%20Kiel%20(1)/updateCompetitorDisplayName?competitorId=103bb5e0-a513-4f4f-857e-1f047b3eb956&displayName=SomeName"Response: Status 200 |