PUT api/2.0/mail/contact/update
Updates the existing mail contact
Name |
Description |
Type |
Example |
id
sent in body
|
id of mail contact
|
number
|
1234
|
name
sent in body
|
Contact's name
|
string
|
some text
|
description
sent in body
|
Description of contact
|
string
|
some text
|
emails
sent in body
|
List of emails
|
System.Collections.Generic.List`1[System.String]
|
|
phoneNumbers
sent in body
|
List of phone numbers
|
System.Collections.Generic.List`1[System.String]
|
|
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"
]
}
Information about updated contact