Description
Delete an existing DKAN node
Usage
delete_node(nid, url = get_url(), credentials = list(cookie =
dkanr::get_cookie(), token = dkanr::get_token()), as = "json", ...)
Arguments
url
character: The DKAN site URL
credentials
Optional list parameter. Default values are Cookie and Token generated by dkan_setup()
as
character: Output format. Options are: 'json' or 'list'
...
Other optional parameters passed to the underlying GET request
Value
character or dkan_node object
Examples
Run this code# NOT RUN {
delete_node(nid = 1, url = "http://demo.getdkan.com")
# }
Run the code above in your browser using DataLab