---
title: "Create a new ACL associated with a Consumer"
method: POST
path: "/consumers/{ConsumerIdForNestedEntities}/acls"
tags: ["ACLs"]
---

# Create a new ACL associated with a Consumer

`POST /consumers/{ConsumerIdForNestedEntities}/acls`

Create a new ACL associated with a Consumer

## Path parameters

- `ConsumerIdForNestedEntities` string, required

## Request body

- ACLWithoutParents
  - `consumer` object, nullable
    - `id` string
  - `created_at` integer, nullable — Unix epoch when the resource was created.
  - `group` string, required
  - `id` string, nullable
  - `tags` string[]

## Response `201`

Successfully created ACL

- ACL
  - `consumer` object, nullable
    - `id` string
  - `created_at` integer, nullable — Unix epoch when the resource was created.
  - `group` string, required
  - `id` string, nullable
  - `tags` string[]

## Changes

> 7 revisions in range; 1 not diffed.

- **2025-04-04** `e07a25288f1f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/changes/consumers/:ConsumerIdForNestedEntities/acls/post.md)

---

[API](https://skmtc.dev/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/daef3e27adf6/schema)
