From 00ea8ed1a6ede3b0876b94be19545b86ccb4b389 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Tue, 20 Nov 2018 22:33:04 +0800 Subject: [PATCH] Clearly mention keep_mailbox_days=0 means keeping forever. --- en_US/iredadmin/0-iredadmin-pro.restful.api-new.md | 4 ++-- en_US/iredadmin/2-iredadmin-pro.restful.api.md | 4 ++-- html/iredadmin-pro.restful.api-new.html | 4 ++-- html/iredadmin-pro.restful.api.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en_US/iredadmin/0-iredadmin-pro.restful.api-new.md b/en_US/iredadmin/0-iredadmin-pro.restful.api-new.md index 3ec322fc..f6abf09e 100644 --- a/en_US/iredadmin/0-iredadmin-pro.restful.api-new.md +++ b/en_US/iredadmin/0-iredadmin-pro.restful.api-new.md @@ -114,7 +114,7 @@ Notes: !!! api "`DELETE`{: .delete } `/api/domain/`{: .url } `Delete an existing domain (all mail messages will NOT be removed)`{: .comment }" -!!! api "`DELETE`{: .delete } `/api/domain//keep_mailbox_days/`{: .url } `Delete domain, and keep all mail messages for given days. Defaults to keep forever.`{: .comment }" +!!! api "`DELETE`{: .delete } `/api/domain//keep_mailbox_days/`{: .url } `Delete domain, and keep all mail messages for given days. Defaults to 0 day which means keeping forever.`{: .comment }" !!! api "`PUT`{: .put } `/api/domain/`{: .url } `Update profile of an existing domain`{: .comment } `Parameters`{: .has_params }"
@@ -316,7 +316,7 @@ Notes:
!!! api "`DELETE`{: .delete } `/api/user/`{: .url } `Delete an existing mail user`{: .comment }" -!!! api "`DELETE`{: .delete } `/api/user//keep_mailbox_days/`{: .url } `Delete an existing mail user, and keep the mailbox for given days. Defaults to keep forever.`{: .comment }" +!!! api "`DELETE`{: .delete } `/api/user//keep_mailbox_days/`{: .url } `Delete an existing mail user, and keep the mailbox for given days. Defaults to 0 day which means keeping forever.`{: .comment }" !!! api "`PUT`{: .put } `/api/user/`{: .url } `Update profile of an existing mail user`{: .comment } `Parameters`{: .has_params} "
diff --git a/en_US/iredadmin/2-iredadmin-pro.restful.api.md b/en_US/iredadmin/2-iredadmin-pro.restful.api.md index 6ccad9e3..581232d8 100644 --- a/en_US/iredadmin/2-iredadmin-pro.restful.api.md +++ b/en_US/iredadmin/2-iredadmin-pro.restful.api.md @@ -114,7 +114,7 @@ Notes:
!!! api "`DELETE`{: .delete } `/api/domain/`{: .url } `Delete an existing domain (all mail messages will NOT be removed)`{: .comment }" -!!! api "`DELETE`{: .delete } `/api/domain//keep_mailbox_days/`{: .url } `Delete domain, and keep all mail messages for given days. Defaults to keep forever.`{: .comment }" +!!! api "`DELETE`{: .delete } `/api/domain//keep_mailbox_days/`{: .url } `Delete domain, and keep all mail messages for given days. Defaults to 0 day which means keeping forever.`{: .comment }" !!! api "`PUT`{: .put } `/api/domain/`{: .url } `Update profile of an existing domain`{: .comment } `Parameters`{: .has_params }"
@@ -313,7 +313,7 @@ Notes:
!!! api "`DELETE`{: .delete } `/api/user/`{: .url } `Delete an existing mail user`{: .comment }" -!!! api "`DELETE`{: .delete } `/api/user//keep_mailbox_days/`{: .url } `Delete an existing mail user, and keep the mailbox for given days. Defaults to keep forever.`{: .comment }" +!!! api "`DELETE`{: .delete } `/api/user//keep_mailbox_days/`{: .url } `Delete an existing mail user, and keep the mailbox for given days. Defaults to 0 day which means keeping forever.`{: .comment }" !!! api "`PUT`{: .put } `/api/user/`{: .url } `Update profile of an existing mail user`{: .comment } `Parameters`{: .has_params} "
diff --git a/html/iredadmin-pro.restful.api-new.html b/html/iredadmin-pro.restful.api-new.html index c9c7c843..c3f89fe1 100644 --- a/html/iredadmin-pro.restful.api-new.html +++ b/html/iredadmin-pro.restful.api-new.html @@ -249,7 +249,7 @@ RESTFUL_API_CLIENTS = ['172.16.244.1', ...]

DELETE /api/domain/<domain> Delete an existing domain (all mail messages will NOT be removed)

-

DELETE /api/domain/<domain>/keep_mailbox_days/<number> Delete domain, and keep all mail messages for given days. Defaults to keep forever.

+

DELETE /api/domain/<domain>/keep_mailbox_days/<number> Delete domain, and keep all mail messages for given days. Defaults to 0 day which means keeping forever.

PUT /api/domain/<domain> Update profile of an existing domain Parameters

@@ -904,7 +904,7 @@ to be a domain admin.

DELETE /api/user/<mail> Delete an existing mail user

-

DELETE /api/user/<mail>/keep_mailbox_days/<number> Delete an existing mail user, and keep the mailbox for given days. Defaults to keep forever.

+

DELETE /api/user/<mail>/keep_mailbox_days/<number> Delete an existing mail user, and keep the mailbox for given days. Defaults to 0 day which means keeping forever.

PUT /api/user/<mail> Update profile of an existing mail user Parameters

diff --git a/html/iredadmin-pro.restful.api.html b/html/iredadmin-pro.restful.api.html index b2b3b7d0..ae9a82b8 100644 --- a/html/iredadmin-pro.restful.api.html +++ b/html/iredadmin-pro.restful.api.html @@ -249,7 +249,7 @@ RESTFUL_API_CLIENTS = ['172.16.244.1', ...]

DELETE /api/domain/<domain> Delete an existing domain (all mail messages will NOT be removed)

-

DELETE /api/domain/<domain>/keep_mailbox_days/<number> Delete domain, and keep all mail messages for given days. Defaults to keep forever.

+

DELETE /api/domain/<domain>/keep_mailbox_days/<number> Delete domain, and keep all mail messages for given days. Defaults to 0 day which means keeping forever.

PUT /api/domain/<domain> Update profile of an existing domain Parameters

@@ -889,7 +889,7 @@ to be a domain admin.

DELETE /api/user/<mail> Delete an existing mail user

-

DELETE /api/user/<mail>/keep_mailbox_days/<number> Delete an existing mail user, and keep the mailbox for given days. Defaults to keep forever.

+

DELETE /api/user/<mail>/keep_mailbox_days/<number> Delete an existing mail user, and keep the mailbox for given days. Defaults to 0 day which means keeping forever.

PUT /api/user/<mail> Update profile of an existing mail user Parameters