Sieve Scripts

Update Sieve Script (Alias Auth)

Update an existing Sieve script for the authenticated alias.

put/v1/sieve-scripts/{script_id}

Request

  • Base URL: https://api.forwardemail.net
  • URL: https://api.forwardemail.net/v1/sieve-scripts/{script_id}
  • Auth: HTTP basic

Path parameters

script_idstring required

Sieve script ID or name

Request body

contentstring

Sieve script content

descriptionstring

Script description

activateboolean

Whether to activate the script after update

Response

Sieve script updated

idstring required

Unique script identifier

namestring required

Script name

contentstring required

Sieve script content

aliasstring required

Alias ID this script belongs to

is_activeboolean

Whether the script is active

priorityinteger

Script priority (lower = higher priority)

created_atstring date-time

Creation timestamp

updated_atstring date-time

Last update timestamp

objectstring

Example response

{
  "object": "sieve_script"
}

Changes

No recorded changes to this operation across all 1 revision of this API.