Update a job's throttle settings.

Dynamically adjust the throttle settings.


Function

  • updateThrottles()

Url

  • POST: /PuresendService/v1/updateThrottles

Parameters

  • jobId: Integer
    • Id of the job to abort.
  • ipLimit: Integer
    • The maximum number of emails that can be sent per IP address.
  • ipTime: Integer
    • The time interval threshold(in minutes) per IP address. The Number of Emails(ipLimit) can be sent within the time interval.
  • jobLimit: Integer
    • The maximum number of emails that can be sent per job for each IP address.
  • jobTime: Integer
    • The time interval threshold(in minutes) per job. The Number of Emails(jobLimit) can be sent for one specific job within the interval.

Return

  • statusCode: int
    • 1: success

Exception

  • Exception

Documentation

  • Dynamically adjust the throttle settings use the function:updateThrottles().

Examples

{ 
    "jobId": 1342, 
    "ipLimit" : 40, 
    "ipTime" : 5, 
    "jobLimit" : 40, 
    "jobTime" : 5 
}

{
    "statusCode" : 1
}