From 484fc0d9238ba86ee74347bc78ec8cc90c06a15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Thu, 23 Feb 2023 15:08:58 +0100 Subject: [PATCH] Fix #70 document email parameter in POST /accounts --- flexiapi/resources/views/api/documentation_markdown.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/flexiapi/resources/views/api/documentation_markdown.blade.php b/flexiapi/resources/views/api/documentation_markdown.blade.php index 50d8a89..13cac0c 100644 --- a/flexiapi/resources/views/api/documentation_markdown.blade.php +++ b/flexiapi/resources/views/api/documentation_markdown.blade.php @@ -258,6 +258,7 @@ JSON parameters: * `domain` **not configurable by default**. Only configurable if `APP_ADMINS_MANAGE_MULTI_DOMAINS` is set to `true` in the global configuration. Otherwise `APP_SIP_DOMAIN` is used. * `activated` optional, a boolean, set to `false` by default * `display_name` optional, string +* `email` optional, string, must be an email * `admin` optional, a boolean, set to `false` by default, create an admin account * `phone` optional, a phone number, set a phone number to the account * `dtmf_protocol` optional, values must be `sipinfo` or `rfc2833`