---
title: "Update an individual API product"
method: PATCH
path: "/v2/api-products/{id}"
tags: ["API Products"]
---

# Update an individual API product

`PATCH /v2/api-products/{id}`

Updates an API product.

## Request body

- UpdateAPIProductDTO — The request schema for updating an API product.
  - `name` string, nullable — The name for the API product.
  - `description` string, nullable — The description of the API product.
  - `labels` LabelsUpdate, nullable — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store **INTERNAL** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `public_labels` PublicLabelsUpdate — Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store **PUBLIC** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `portal_ids` string[], required — The list of portal identifiers which this API product should be published to

## Response `200`

API product

- APIProduct
  - `id` string, uuid, required — The API product ID.
  - `name` string, required — The name of the API product
  - `description` string, nullable, required — The description of the API product
  - `portal_ids` string[], required — The list of portal identifiers which this API product is published to. This property is deprecated and will be removed in a future version. Use the `portals` property instead.
  - `portals` APIProductPortal[], required — The list of portals which this API product is published to
    - `portal_id` string, uuid, required
    - `portal_name` string, required
  - `version_count` number, required — The number of product versions attached to this API product
  - `created_at` string, date-time, required — An ISO-8601 timestamp representation of entity creation date.
  - `updated_at` string, date-time, required — An ISO-8601 timestamp representation of entity update date.
  - `labels` Labels, required — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `public_labels` PublicLabels, required — Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store **PUBLIC** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `415` — Unsupported Media Type

---

[API](https://skmtc.net/kong/apis/konnect-api.md) · [All operations](https://skmtc.net/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/06734a9c491f/schema)
