跳到主要内容

Update a signature

POST /api/2.0/mail/signature/update/{mailbox_id:[0-9]+}

Updates a signature of a mailbox with the ID specified in the request.

Request body​

mailbox_id​

type: integer

Mailbox ID

Example: 0

html​

type: string

New signature value in the HTML format

Example: "string"

is_active​

type: boolean

New signature status (active or not)

Example: true

Request example​

{
"mailbox_id": 0,
"html": "string",
"is_active": true
}

Returns​

Updated signature object. A request that is not authenticated returns 401.

MailboxId​

type: integer

Example: 132

Html​

type: string

Example: "html"

IsActive​

type: boolean

Example: true

Response example​

{
"MailboxId": 132,
"Html": "html",
"IsActive": true
}