From c702190b2f6ede0eb0fd4caab09cdde99ee049b2 Mon Sep 17 00:00:00 2001 From: ntimo Date: Tue, 25 Aug 2020 13:16:59 +0200 Subject: [PATCH] [Web] Added new options to API docs route: /api/v1/add/mailbox --- data/web/api/openapi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/data/web/api/openapi.yaml b/data/web/api/openapi.yaml index aff8b494..fe82f2a8 100644 --- a/data/web/api/openapi.yaml +++ b/data/web/api/openapi.yaml @@ -766,6 +766,9 @@ paths: password: '*' password2: '*' quota: '3072' + force_pw_update: '1' + tls_enforce_in: '1' + tls_enforce_out: '1' - null msg: - mailbox_added @@ -807,6 +810,9 @@ paths: password: atedismonsin password2: atedismonsin quota: '3072' + force_pw_update: '1' + tls_enforce_in: '1' + tls_enforce_out: '1' properties: active: description: is mailbox active or not @@ -829,6 +835,15 @@ paths: quota: description: mailbox quota type: number + force_pw_update: + description: forces the user to update its password on first login + type: boolean + tls_enforce_in: + description: force inbound email tls encryption + type: boolean + tls_enforce_out: + description: force oubound tmail tls encryption + type: boolean type: object summary: Create mailbox