MeshTrafficPermission

Creates or Updates MeshTrafficPermission entity

Changed on
put/v3/mesh/control-planes/{cpId}/meshes/{mesh}/meshtrafficpermissions/{name}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

cpId, string uuid required

Id of the Konnect resource

mesh, string required

name of the mesh

name, string required

name of the MeshTrafficPermission

Request body

MeshTrafficPermissionItem required

MeshTrafficPermission controls which services are allowed to communicate with each other in the mesh. It provides fine-grained access control by allowing you to define allow/deny rules based on service identity, enabling zero-trust security and supporting shadow mode for testing permission changes before enforcement.

type, 'MeshTrafficPermission' required

the type of the resource

mesh, string

Mesh is the name of the Kuma mesh this resource belongs to. It may be omitted for cluster-scoped resources.

kri, string

A unique identifier for this resource instance used by internal tooling and integrations. Typically derived from resource attributes and may be used for cross-references or indexing

name, string required

Name of the Kuma resource

labels, object

The labels to help identity resources

spec, object required

Spec is the specification of the Kuma MeshTrafficPermission resource.

creationTime, string date-time

Time at which the resource was created

modificationTime, string date-time

Time at which the resource was updated

Example request

{
  "kri": "kri_mtp_default_zone-east_kuma-demo_mypolicy1_",
  "creationTime": "1901-01-01T00:00:00.000Z",
  "modificationTime": "1901-01-01T00:00:00.000Z"
}

Response

Successful response

object required
warnings, string[]

warnings is a list of warning messages to return to the requesting Kuma API clients. Warning messages describe a problem the client making the API request should correct or be aware of.

Changes