---
title: "PUT /api/mt/gtap/{id}"
method: PUT
path: "/api/mt/gtap/{id}"
tags: ["/api/mt/gtap"]
---

# PUT /api/mt/gtap/{id}

`PUT /api/mt/gtap/{id}`

Update a GTAP entry. The only things you're allowed to update for a GTAP are the Card being used (`card_id`) or the
  parameter mappings; changing `table_id` or `group_id` would effectively be deleting this entry and creating a new
  one. If that's what you want to do, do so explicitly with appropriate calls to the `DELETE` and `POST` endpoints.

## Path parameters

- `id` integer, required

## Request body

- object
  - `attribute_remappings` MetabaseEnterpriseSandboxSchemaAttributeRemappings, nullable — value must be a valid attribute remappings map (attribute name -> remapped name)
  - `card_id` integer, nullable — value must be an integer greater than zero.

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/versions/08b5a2bafb4f/schema)
