For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update forwarder keep-copy setting

Enable or disable keeping a copy of forwarded messages in the mailbox.

Update forwarder keep-copy setting

patch

Enable or disable keeping a copy of forwarded messages in the mailbox.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
forwarderIdstringRequired

Forwarder resource ID

Example: FW1a2b3c4d5e6f7g
Body
is_keep_copy_enabledbooleanRequired

Whether to keep a copy of forwarded messages in the mailbox

Example: true
Responses
200

Success response

application/json
messagestringOptionalExample: Request accepted
patch/api/mail/v1/forwarders/{forwarderId}/keep-copy
PATCH /api/mail/v1/forwarders/{forwarderId}/keep-copy HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "is_keep_copy_enabled": true
}
{
  "message": "Request accepted"
}

Last updated

Was this helpful?