---
title: "PUT /api/ee/custom-viz-plugin/{id}/bundle"
method: PUT
path: "/api/ee/custom-viz-plugin/{id}/bundle"
tags: ["/api/ee/custom-viz-plugin"]
---

# PUT /api/ee/custom-viz-plugin/{id}/bundle

`PUT /api/ee/custom-viz-plugin/{id}/bundle`

Replace the bundle for an existing plugin. Accepts a multipart tar.gz upload in
   the same format as the `POST /` endpoint. The manifest's `name` field must
   match the plugin's existing `identifier`.

## Path parameters

- `id` integer, required

## Response `2XX`

Successful response

- object
  - `bundle_hash` string, nullable
  - `created_at` unknown, required
  - `dev_bundle_url` string, nullable
  - `dev_only` boolean, required
  - `display_name` string, required
  - `enabled` boolean, required
  - `error_message` string, nullable
  - `icon` string, nullable
  - `id` integer, required — value must be an integer greater than zero.
  - `identifier` string, required
  - `manifest` unknown
  - `metabase_version` string, nullable
  - `status` 'active' | 'error', required
  - `updated_at` unknown, required

## 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)
