Description Usage Arguments Details See Also
api_delete
deletes the bioscreen data associated with the specified source_id
,
external_identifier
, and endpoint
.
1 2 3 | api_delete(source_id = 1, external_identifier = 100, endpoint,
base_url = "https://msbioscreen-uat.herokuapp.com/api/v1",
token = get_token(), verbose_b = TRUE)
|
source_id |
source identifer |
external_identifier |
external identifer |
endpoint |
the data endpoint of interest. Possible values are "subjects", "attacks", "treatments", and "visits". |
base_url |
the API base URL. |
token |
HTTP authorization token. Default is to get environment variable 'MSBWAITER_TOKEN'. |
verbose_b |
print progress messages as function runs? |
Deleting 'subjects' data will also delete the associated 'attacks', 'treatments', and 'visits' data. Deleting 'attacks', 'treatments', or 'visits' data will NOT delete the associated data in any of the other endpoints.
api_do_action
, api_create
, api_update
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.