View source: R/analytics-report.R
| sf_delete_report | R Documentation |
Delete a report by sending a DELETE request to the Report resource. Deleted reports are moved to the Recycle Bin.
sf_delete_report(report_id, verbose = FALSE)
report_id |
|
verbose |
|
logical indicating whether the report was deleted. This function
will return TRUE if successful in deleting the report.
Other Report functions:
sf_copy_report(),
sf_create_report(),
sf_describe_report(),
sf_describe_report_type(),
sf_execute_report(),
sf_list_report_fields(),
sf_list_report_filter_operators(),
sf_list_report_types(),
sf_list_reports(),
sf_query_report(),
sf_run_report(),
sf_update_report()
## Not run:
# first, grab all possible reports in your Org
all_reports <- sf_query("SELECT Id, Name FROM Report")
# second, get the id of the report to delete
this_report_id <- all_reports$Id[1]
# third, delete that report using its Id
success <- sf_delete_report(this_report_id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.