---
title: "Update template definition"
method: PUT
path: "/map/named/{template_name}"
tags: ["Named Maps"]
---

# Update template definition

`PUT /map/named/{template_name}`

Update the definition of the template

## Path parameters

- `template_name` string, required

## Response `200`

Ok

- NamedMapResponse
  - `template_id` string

## Other responses

- `400` — The server could not understand the request due to invalid syntax or unexpected condition.
- `401` — Unauthorized. No authentication provided.
- `403` — Forbidden. The API key does not authorize this request.
- `404` — The specified resource was not found.
- `429` — The user has sent too many requests in a given amount of time ("rate limiting" or "database timeout").
- `500` — Server encountered an unexpected condition that prevented it from fulfilling the request.

## Changes

- **2019-02-07** `86f957fde710` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cartodb/apis/maps-api/changes/map/named/:template_name/put.md)

---

[API](https://skmtc.dev/cartodb/apis/maps-api.md) · [All operations](https://skmtc.dev/cartodb/apis/maps-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cartodb/maps-api/revisions/35d2b59fee9e/schema)
