Skip to main content

remove_group

Function remove_group 

Source
pub async fn remove_group(
    client: &Client,
    group: &RecordSet,
) -> Result<Vec<RecordValue>>
Expand description

Removes every value of the group (and so the group). Not atomic: on an error midway the values already removed stay removed. Returns the removed values.

A group with values Core keeps for another resource is refused before anything is removed (see check_group_removable), instead of failing halfway on Core’s 409 MANAGED_RECORD.

§Errors