Description Usage Arguments Value Author(s) Examples
uptimerobot.contact.delete
removes an alert contanct, unlinking from all the registered monitors.
1 | uptimerobot.contact.delete(api.key, id)
|
api.key |
string with a valid key for connecting to Uptimerobot API. |
id |
numeric or integer with the ID of the contact to delete. |
The function returns TRUE
in case success. An error is thrown otherwise.
Gabriele Baldassarre
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# Let's assume the api.key is available into the environment variable KEY
api.key <- Sys.getenv("KEY", "")
# Delete the contact with id=12345678
if(uptimerobot.contact.delete(api.key, 12345678){
message("Alert contact successfully deleted!")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.