Update a scheduled report for a tenant

PUT {{base_url}}/api/2/reports/{{report_id}}

Request Body

{"recipients"=>["{{user_id}}"], "result_action"=>"send", "generation_date"=>"2020-05-02", "parameters"=>{"period"=>{"start"=>"2020-04-01", "end"=>"2020-04-30"}, "level"=>"accounts", "formats"=>["csv_v2_0"], "kind"=>"usage_current"}, "schedule"=>{"enabled"=>false, "type"=>"monthly"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"recipients":["51f563d0-e715-4a00-8a25-736f43e4097a"],"result_action":"send","generation_date":"2020-05-02","parameters":{"period":{"start":"2020-04-01","end":"2020-04-30"},"tenant_id":"53b471e1-50dd-4557-ae6d-f687946821d4","level":"accounts","formats":["csv","html"],"kind":"usage_current"},"version":10,"id":"b697fd7f-073f-4c4d-90a9-fe68567fa359","schedule":{"enabled":false,"type":"monthly"}}