Skip to content

Update

Update a rank with the given ID.

HTTP request

PUT https://megamify.com/api/v1/game/:game_id/rank/:rank_id/

Parameters

Name Required Type Description
game_id True int The Game ID
rank_id True int The Rank ID

Headers

See Security section of the API Reference.

Body

Name Required Type Description
game True int Game ID
name True string Rank name
icon True string Absolute URL for icon image (can be null)
index True int Display order

Response

Status: 200 OK

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