Get Started
Usage API
More information

PUT api/2.0/mail/contact/update This function requires authentication

Description

Updates a mail contact with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in body
Mail contact ID number 1234
name
sent in body
New contact name string some text
description
sent in body
New contact description string some text
emails
sent in body
New list of emails System.Collections.Generic.List`1[System.String]
phoneNumbers
sent in body
New list of phone numbers System.Collections.Generic.List`1[System.String]
Example
PUT api/2.0/mail/contact/update
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "id": 1234,
  "name": "some text",
  "description": "some text",
  "emails": [
    "some text"
  ],
  "phoneNumbers": [
    "some text"
  ]
}
Returns

Information about updated contact