Skip to content

Update

Update the achievement for the currently authenticated player.

HTTP request

PUT https://megamify.com/api/v1/player/badge/:player_badge_id/

Parameters

Name Required Type Description
player_badge_id True int The Achievement ID

Headers

See Security section of the API Reference.

Body

Name Required Type Description
steps True int The number of steps

Response

Status: 200 OK

If successful, this method returns a PlayerAchievement object in the response body.