---
title: "Update a custom integration"
method: PUT
path: "/api/fleet/epm/custom_integrations/{pkgName}"
tags: ["Elastic Package Manager (EPM)"]
---

# Update a custom integration

`PUT /api/fleet/epm/custom_integrations/{pkgName}`

**Spaces method and path for this operation:**

<div><span class="operation-verb put">put</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/epm/custom_integrations/{pkgName}</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Update the datasets of an existing custom integration package.<br/><br/>[Required authorization] Route required privileges: fleet-settings-all AND integrations-all.

## Path parameters

- `pkgName` string, required

## Headers

- `kbn-xsrf` string, required

## Request body

- object
  - `categories` string[]
  - `readMeData` string, required

## Response `200`

Successful response

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
