Cloned Plugins

Upsert a Cloned Plugin

Changed on

Create or Update Cloned Plugin using ID or name.

put/cloned-plugins/{ClonedPluginIdOrName}

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

ClonedPluginIdOrName, string required

ID or name of the Cloned Plugin to lookup

Request body

ClonedPlugin required
created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

name, string required

The name to associate with the cloned plugin. Consider using a distinct prefix for cloned plugins to avoid naming conflicts with new bundled plugins in future Kong releases.

priority, integer nullable

The plugin execution priority. If not set, it will inherit the priority of the referenced plugin.

ref, string required

The name of the base plugin that this cloned plugin references. This plugin must be cloneable.

tags, string[] nullable

A set of strings representing tags.

updated_at, integer nullable

Unix epoch when the resource was last updated.

Response

Successfully upserted Cloned Plugin

ClonedPlugin required
created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

name, string required

The name to associate with the cloned plugin. Consider using a distinct prefix for cloned plugins to avoid naming conflicts with new bundled plugins in future Kong releases.

priority, integer nullable

The plugin execution priority. If not set, it will inherit the priority of the referenced plugin.

ref, string required

The name of the base plugin that this cloned plugin references. This plugin must be cloneable.

tags, string[] nullable

A set of strings representing tags.

updated_at, integer nullable

Unix epoch when the resource was last updated.

Changes