Sends a request to the PurpleAirAPI API endpoint described at: https://api.purpleair.com/#api-groups-delete-member
pa_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(AirSensor)
pa_getGroupDetail(
api_key = PURPLE_AIR_API_READ_KEY,
group_id = MY_GROUP_ID
)
}, silent = FALSE)
#> Error in MazamaCoreUtils::stopIfNull(api_key) :
#> object 'PURPLE_AIR_API_READ_KEY' not found
# }