---
title: "Edit Domain Admin ACL"
method: POST
path: "/api/v1/edit/da-acl"
tags: ["Domain admin"]
---

# Edit Domain Admin ACL

`POST /api/v1/edit/da-acl`

Using this endpoint you can edit the ACLs of a Domain Admin user. This user has full control over a domain, and can create new mailboxes and aliases.

## Request body

- object
  - `items` object — contains the domain admin username you want to edit
  - `attr` object
    - `da_acl` object — contains the list of acl names that are active for this user

## Response `200`

OK

- object
  - `log` unknown[] — contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'error'

## Other responses

- `401` — Unauthorized

## Changes

- **2020-10-11** `8bde7b9da273` — 1 info
  - api operation id `Edit Domain Admin user` removed and replaced with `Edit Domain Admin ACL`
- **2020-10-11** `0d0e1f17fa18` — 1 info
  - endpoint added
- **2020-06-07** `47523aca063a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mailcow/apis/mailcow-api/changes/api/v1/edit/da-acl/post.md)

---

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