Creates a mail group with the parameters specified in the request.
Name | Description | Type | Example |
name
sent in body
|
Sender name | string | some text |
domain_id
sent in body
|
Domain ID | number | 1234 |
address_ids
sent in body
|
List of address IDs | System.Collections.Generic.List{System.Int32} |
POST api/2.0/mailserver/groupaddress/add Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "name": "some text", "domain_id": 1234, "address_ids": [ 1234 ] }
Mail group data associated with the tenant
application/json
{ "status": 0, "response": { "Id": 1234, "Address": { "Id": 1234, "DomainId": 1234, "Email": "Email@only.com" }, "Addresses": [ { "Id": 1234, "DomainId": 1234, "Email": "Email@only.com" } ] } }
text/xml
<result> <status>0</status> <response> <Id>1234</Id> <Address> <Id>1234</Id> <DomainId>1234</DomainId> <Email>Email@only.com</Email> </Address> <Addresses> <Id>1234</Id> <DomainId>1234</DomainId> <Email>Email@only.com</Email> </Addresses> </response> </result>