---
title: "Creates or Updates AccessAudit entity"
method: PUT
path: "/v1/mesh/control-planes/{cpId}/api/accessaudits/{name}"
tags: ["AccessAudit"]
---

# Creates or Updates AccessAudit entity

`PUT /v1/mesh/control-planes/{cpId}/api/accessaudits/{name}`

## Path parameters

- `name` string, required

## Request body

- AccessAuditItem
  - `creationTime` string, date-time — Time at which the resource was created
  - `labels` object
  - `modificationTime` string, date-time — Time at which the resource was updated
  - `name` string, required
  - `rules` object[], nullable
    - `access` union[], nullable
      - union
        - string
        - integer
    - `accessAll` boolean
    - `mesh` string
    - `types` string[], nullable
  - `type` string, required

## Response `200`

Successful response

- object
  - `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.

## Other responses

- `201` — Successful response

---

[API](https://skmtc.net/kong/apis/konnect-api-beta.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-beta/revisions/658ffb748f95/schema)
