Sends a request to the PurpleAirAPI API endpoint described at: https://api.purpleair.com/#api-groups-delete-member
PurpleAir_deleteMember(
api_key = NULL,
group_id = NULL,
member_id = NULL,
baseUrl = "https://api.purpleair.com/v1/groups"
)
PurpleAir API WITE key.
The group_id
of the requested group.
The member_id
to be deleted.
URL endpoint for the "Delete Member" API.
No return.
# \donttest{
# Fail gracefully if any resources are not available
try({
library(AirSensor2)
PurpleAir_getGroupDetail(
api_key = PurpleAir_API_READ_KEY,
group_id = MY_GROUP_ID
)
}, silent = FALSE)
#> Error in MazamaCoreUtils::stopIfNull(api_key) :
#> object 'PurpleAir_API_READ_KEY' not found
# }