Get Started
Usage API
More information

PUT api/2.0/mailserver/groupaddress/address/add This function requires authentication

Description

Adds an address with the ID specified in the request to the mail group.

Parameters
Name Description Type Example
mailgroup_id
sent in body
Mail group ID number 1234
address_id
sent in body
Address ID number 1234
Example
PUT api/2.0/mailserver/groupaddress/address/add
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "mailgroup_id": 1234,
  "address_id": 1234
}
Returns

Mail group data associated with the tenant

Example Response

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>