Path parameters
-
mapid
integer Required
Body
Required
-
mappass
string Required Password to view the map without login
-
mapname
string Required Map name
-
mapdate
string Date of the day the map was burned. aaaa-mm-dd
-
allowediting
boolean Shows whether the map can be edited with the password or not
PUT
/maps/{mapid}/
curl \
--request PUT 'http://api.example.com/maps/{mapid}/' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"mappass":"string","mapname":"string","mapdate":"string","allowediting":true}'
Request examples
{
"mappass": "string",
"mapname": "string",
"mapdate": "string",
"allowediting": true
}
Response examples (202)
{
"message": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (503)
string