---
title: "POST /acl/{acl}/rules"
method: POST
path: "/acl/{acl}/rules"
tags: ["ACL"]
---

# POST /acl/{acl}/rules

`POST /acl/{acl}/rules`

## Path parameters

- `acl` string, required

## Request body

- AuthACLRule
  - `id` string
  - `action` string
  - `value` string, required
  - `comment` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string

## Response `201`

- AuthACLRule
  - `id` string
  - `action` string
  - `value` string, required
  - `comment` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/revisions/0421d2a97c52/schema)
