POST api/2.0/mail/signature/update/{mailbox_id}
Updates a signature of a mailbox with the ID specified in the request.
Name |
Description |
Type |
Example |
mailbox_id
sent in url
|
Mailbox ID
|
number
|
1234
|
html
sent in body
|
New signature value in the HTML format
|
string
|
some text
|
is_active
sent in body
|
New signature status (active or not)
|
Bool value
|
true
|
POST api/2.0/mail/signature/update/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"html": "some text",
"is_active": true
}
application/json
{
"status": 0,
"response": {
"mailboxId": "132",
"html": "html",
"isActive": true
}
}
text/xml
<result>
<status>0</status>
<response>
<mailboxId>132</mailboxId>
<html>html</html>
<isActive>True</isActive>
</response>
</result>