Delete Filter Chain Associated to a Specific Route

Delete filter chain associated to a specific route.

delete
{protocol}://{hostname}:{port}{path}/routes/{route_id_or_name}/{filter_chain_id}

Path Parameters

filter_chain_idstringrequired

The unique identifier of the filter chain to retrieve.

route_id_or_namestringrequired

The unique identifier or the name of the route to retrieve.

Example:my-route

Response

No Content

delete/routes/{route_id_or_name}/{filter_chain_id}
 

Delete Filter Chain Associated to a Specific Service

Delete filter chain associated to a specific service.

delete
{protocol}://{hostname}:{port}{path}/services/{service_id_or_name}/filter-chains/{filter_chain_id}

Path Parameters

service_id_or_namestringrequired

ID or name of the service to lookup

Example:test-service

filter_chain_idstringrequired

The unique identifier of the filter chain to retrieve.

Response

No Content

delete/services/{service_id_or_name}/filter-chains/{filter_chain_id}
 

List request audit logs

You can access request and database audit logs through the Admin API.
The default order of audit log is by request timestamp - latest to oldest.
For usage examples, see Audit Logging in Kong Gateway.

get
{protocol}://{hostname}:{port}{path}/audit/requests

Query Parameters

before_audit_log_filterOne Of

Before filter could be used to request audit log data that was recorded before certain time (exclusive).
It can either be a timestamp as Unix Epoch or a string following RFC3339 Schema (without fractions of a second) - ex: ‘2024-04-25T15:03:24Z’

Variant 1string

Match pattern:^(\d+|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z)$

after_audit_log_filterOne Of

After filter could be used to request audit log data that was recorded after certain time (inclusive).
It can either be a timestamp as Unix Epoch or a string following RFC3339 Schema (without fractions of a second) - ex: ‘2024-04-25T15:03:24Z’

Variant 1string

Match pattern:^(\d+|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z)$

Response

application/json

Example response generated for checking the /status endpoint without RBAC enabled.

dataarray[object]

The client IP address

Show Child Parameters
totalinteger
get/audit/requests
 
application/json

List database audit logs

List database audit logs (ordered by request timestamp - latest to oldest)

get
{protocol}://{hostname}:{port}{path}/audit/objects

Query Parameters

before_audit_log_filterOne Of

Before filter could be used to request audit log data that was recorded before certain time (exclusive).
It can either be a timestamp as Unix Epoch or a string following RFC3339 Schema (without fractions of a second) - ex: ‘2024-04-25T15:03:24Z’

Variant 1string

Match pattern:^(\d+|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z)$

after_audit_log_filterOne Of

After filter could be used to request audit log data that was recorded after certain time (inclusive).
It can either be a timestamp as Unix Epoch or a string following RFC3339 Schema (without fractions of a second) - ex: ‘2024-04-25T15:03:24Z’

Variant 1string

Match pattern:^(\d+|\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z)$

Response

application/json

Example response for a consumer creation log entry

idstring
get/audit/objects
 
application/json

List all event hooks

List all event hooks and return information about the event hooks.

get
{protocol}://{hostname}:{port}{path}/event-hooks

Response

application/json

Example event hooks response

dataarray[object]
Show Child Parameters
nextstring
get/event-hooks
 
application/json