Update Leaderboard
PUT
https://api.lootlocker.io/server/leaderboards/{leaderboard_id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.lootlocker.io/server/leaderboards/12' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Test Leaderboard 132",
"direction_method": "ascending"
}'
Response Response Example
{
"created_at": "2024-02-15T22:04:20Z",
"updated_at": "2024-02-15T22:05:15.949Z",
"key": "",
"direction_method": "ascending",
"name": "Test Leaderboard 132",
"type": "player",
"id": 12,
"game_id": 23647,
"enable_game_api_writes": false,
"overwrite_score_on_submit": false,
"has_metadata": false
}
Request
Path Params
leaderboard_id
stringÂ
required
Example:
12
Header Params
x-auth-token
stringÂ
required
Default:
{{server_auth_token}}
Body Params application/json
Responses
Modified at 2025-04-07 14:13:42