Logo
Akamai APIs API Documentation

Update a report schedule

PUT https://{{host}}/etp-report/v3/configs/:configId/schedules/:scheduleId

Updates the configuration of a specified report schedule.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "createdBy": "alfulani", "creationDate": "2017-06-22T11:12:55Z", "criterias": { "siteIds": [] }, "daily": true, "dayOfWeek": "MONDAY", "emails": [ "user1@akamai.com", "user2@akamai.com" ], "enable": true, "filters": { "isAlert": { "in": [ "true" ] } }, "isHtml": true, "isNew": true, "modifiedBy": "mrossi", "modifiedDate": "2017-06-28T11:12:55Z", "recurrence": "WEEKLY", "reportTemplate": "THREAT_EVENTS_BY_LOCATION_AND_DOMAIN", "scheduleId": 100, "status": "ENABLED", "useFilters": false, "userTimeZone": "+05:30" }



Curl
curl -X PUT 'https://host/etp-report/v3/configs/:configId/schedules/:scheduleId?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"daily":true,"dayOfWeek":null,"emails":["user@example.com"],"enable":true,"format":"HTML","isHtml":true,"isNew":true,"recurrence":"DAILY","reportTemplate":"THREAT_EVENTS_BY_LOCATION_AND_DOMAIN","scheduleId":16460,"status":"ENABLED","useFilters":false,"userTimeZone":"America/New_York"}'

ENDPOINTS