Layers
Update layer
Updates properties of an existing layer. Currently supports updating the layer's display name.
result = httpx.patch(
"https://app.mundi.ai/api/layer/L4b2c3d4e5f6",
json={"name": "New name in layer list"},
headers={"Authorization": f"Bearer {os.environ['MUNDI_API_KEY']}"}
).json()
assert result == {
"layer_id": "L4b2c3d4e5f6",
"name": "New name in layer list",
"message": "Layer updated successfully"
}
patch/api/layer/{layer_id}
Path parameters
layer_idstring required
Request body
Response
Successful Response
Changes
Changed in 2 of the 9 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲