v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01960201.2 KB
Mailboxes

Update mailbox

You can update one or more mailboxes per request. You can also send just attributes you want to change

post/api/v1/edit/mailbox

Request body

itemsobject

contains list of mailboxes you want update

Example request

{
  "attr": {
    "active": "1",
    "force_pw_update": "0",
    "force_tfa": "0",
    "name": "Full name",
    "authsource": "mailcow",
    "password": "",
    "password2": "",
    "quota": "3072",
    "sender_acl": [
      "default",
      "info@domain2.tld",
      "domain3.tld",
      "*"
    ],
    "sogo_access": "1",
    "tags": [
      "tag3",
      "tag4"
    ]
  },
  "items": [
    "info@domain.tld"
  ]
}

Response

OK

type'success' | 'danger' | 'error'