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

# Create a new ACL associated with a Consumer

`POST /{workspace}/consumers/{ConsumerIdForNestedEntities}/acls`

Create a new ACL associated with a Consumer

## Path parameters

- `ConsumerIdForNestedEntities` string, required
- `workspace` 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 — A string representing a UUID (universally unique identifier).
  - `tags` string[], nullable — A set of strings representing tags.

## 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 — A string representing a UUID (universally unique identifier).
  - `tags` string[], nullable — A set of strings representing tags.

---

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