Update a Leaderboard
ENDPOINT
PUT https://api.codecoogs.com/v1/leaderboards?id=
REQUEST BODY
{
"id": "eec23d65-a56a-48b1-89c1-6c36068dbfb6",
"name": "Git Gud Top Members",
}
URL Parameters
id Required
A UUID for the object.
Body Parameters
id string
A UUID for the object.
name string
The leaderboard's name.
Updating Leaderboard Attributes
When updating a leaderboard's information, if you prefer to keep certain attributes unchanged, simply include their current values in the request body. This ensures that only the desired attributes are modified, while retaining the existing values for those you wish to remain unchanged.
Returns
Returns a success status after successful leaderboard update. This call returns a success status and an error message if something goes wrong.