v1
latestOpenAPI 3.1.02026-07-1771114.6 KBMaps
Update map
Updates an existing map's properties. Currently supports updating the map's basemap style.
The basemap determines the background map tiles displayed beneath your data layers. Available basemap options for Mundi cloud are from MapTiler:
- hybrid - Satellite imagery
- basic-v2 - Basic street map (default)
- dataviz - Light basemap for data visualization
- dataviz-dark - Dark basemap for data visualization
- outdoor-v2 - Outdoor/terrain map
result = httpx.patch(
"https://app.mundi.ai/api/maps/MWfqcRak59bo",
json={"basemap": "hybrid"},
headers={"Authorization": f"Bearer {os.environ['MUNDI_API_KEY']}"}
).json()
assert result == {
"id": "MWfqcRak59bo",
"basemap": "hybrid",
"message": "Map updated successfully"
}
patch/api/maps/{map_id}
Path parameters
map_idstring required
Request body
Response
Successful Response
{"stackTrail":"paths:/api/maps/{map_id}:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}