An expression used for conditional control over plugin execution. If the expression evaluates to true during the request flow, the plugin is executed; otherwise, it is skipped.
created_atinteger nullable
Unix epoch when the resource was created.
enabledboolean nullable
Whether the plugin is applied.
idstring nullable
A string representing a UUID (universally unique identifier).
instance_namestring nullable
A unique string representing a UTF-8 encoded name.
name'websocket-validator' required
The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately.
tagsstring[] nullable
An optional set of strings associated with the Plugin for grouping and filtering.
updated_atinteger nullable
Unix epoch when the resource was last updated.
protocolsstring[]
A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.