---
title: "POST /v1/{+parent}/aclPolicies"
method: POST
path: "/v1/{+parent}/aclPolicies"
tags: ["projects"]
---

# POST /v1/{+parent}/aclPolicies

`POST /v1/{+parent}/aclPolicies`

Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns.

## Path parameters

- `parent` string, required

## Query parameters

- `aclPolicyId` string
- `requestId` string

## Request body

- AclPolicy — The ACL policy resource.
  - `name` string — Identifier. Full resource path of the ACL policy.
  - `rules` AclRule[] — Required. The ACL rules within the ACL policy.
    - `username` string — Required. Specifies the IAM user or service account to be added to the ACL policy. This username will be directly set on the Redis OSS.
    - `rule` string — Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
  - `state` 'STATE_UNSPECIFIED' | 'ACTIVE' | 'UPDATING' | 'DELETING' — Output only. The state of the ACL policy.
  - `version` string, int64 — Output only. Deprecated: Used in drift resolution.
  - `etag` string — Output only. Etag for the ACL policy.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/redis.md) · [All operations](https://skmtc.dev/google/apis/redis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/redis/revisions/001438d863e7/schema)
