Learn R Programming

brandwatchR (version 0.3.0)

bwr_rule_delete: Delete a specified Brandwatch rule

Description

Delete a specified Brandwatch rule

Usage

bwr_rule_delete(project_id, rule_id, token = Sys.getenv("BW_TOKEN"))

Arguments

project_id

The project ID in which the target rule can be found. Obtain a data frame of project IDs using bwr_projects_get().

rule_id

The ID of the rule which you'd like to delete. Obtain a list of rule IDs using bwr_rule_get().

token

The authentication token, obtained using bwr_auth()

Value

Returns a list of the JSON response.

Examples

Run this code
# NOT RUN {
bwr_rule_delete(project_id = 122445, rule_id = 23432424)
# }

Run the code above in your browser using DataLab