Get Started
Portal api methods
Help

PUT api/2.0/mail/accounts/emailinfolder This function requires authentication

Description

Sets the state for the account specified in the request

Parameters
Name Description Type Example
mailbox_id
sent in body
Id of the account number 1234
email_in_folder
sent in body
Document's folder Id string some text
Example
PUT api/2.0/mail/accounts/emailinfolder
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "mailbox_id": 1234,
  "email_in_folder": "some text"
}
Returns

Account email address