Update an individual API product
Changed onUpdates an API product.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
API product identifier
Request body
The request schema for updating an API product.
The name for the API product.
The description of the API product.
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 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 "_".
The list of portal identifiers which this API product should be published to
Example request
{
"name": "API Product",
"description": "Text describing the API product",
"labels": {
"env": "test"
},
"public_labels": {
"category": "finance"
},
"portal_ids": [
"25a2624c-49fc-4764-99e1-224ed819f200"
]
}Response
API product
The API product ID.
The name of the API product
The description of the API product
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.
The list of portals which this API product is published to
The number of product versions attached to this API product
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
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 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 "_".
Example response
{
"id": "b9e81174-b5bb-4638-a3c3-8afe61a0abf8",
"name": "My Name",
"description": "MyDescription",
"portal_ids": [
"25a2624c-49fc-4764-99e1-224ed819f200"
],
"portals": [
{
"portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
"portal_name": "Developer Portal"
}
],
"version_count": 10,
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"labels": {
"env": "test"
},
"public_labels": {
"category": "finance"
}
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking